vets-api icon indicating copy to clipboard operation
vets-api copied to clipboard

80465: Add logic for sending email after status update

Open balexandr opened this issue 9 months ago • 0 comments

As a VFMP applicant, I need to receive confirmation that VA is processing my application so that I know when the status of my application has been updated.

Summary

  • Add logic to pega_controller to format data and prepare it for VANotify email
  • Add Email service to handle data and actually hit Sidkiq job to send email
  • Add spec
  • Add settings

Related issue(s)

  • https://github.com/department-of-veterans-affairs/va.gov-team/issues/80465

Testing done

  • Rspec
  • Can't test emails locally

Acceptance criteria

Given that I am a Veteran or family member submitting a VFMP form on VA.gov When my information has been successfully imported into PEGA Then I should receive an email that tells me my application is being processed When my information has NOT been successfully imported into PEGA

Then I should receive an email that tells me that I need to resubmit my information Scope for this story is just a VA-notify proof of concept and doesn't include a fully formed email, just a basic template.

Requested Feedback

(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?

balexandr avatar May 23 '24 20:05 balexandr