Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Implement templates for email service #1061

Closed
adriaaaa opened this issue Aug 10, 2022 · 0 comments · Fixed by #1123
Closed

Implement templates for email service #1061

adriaaaa opened this issue Aug 10, 2022 · 0 comments · Fixed by #1123

Comments

@adriaaaa
Copy link

adriaaaa commented Aug 10, 2022

Description

Fides will need to be able to send html content from Fides to your email service (like mailgun). This ticket is to cover the work needed for fides to create and send html content through

Assumptions

  • advanced configurations of fonts/styles will be handled in the future, so we can hard code the style based on the mocks we have.

Acceptance Criteria

  1. Decide on templating lib/engine. Good options:
    http://mustache.github.io/#demo- not exclusive to python
    GitHub - pallets/jinja: A very fast and expressive template engine. - python exclusive
  • Consider that we'll eventually will have UI to configure things such as colors, subject line, body text, font style, font size
  • Consider how we can support preview mode in future
  1. Demonstrate that we can send an MFA email through mailgun using a template where the MFA code gets populated dynamically into the template on the back-end.
  2. Ensure that the template logic is modular enough so that many more templates can be added in the future.

Refinement Notes:

  • design to create basic email for MFA sending
  • No other personalized content to be sent in the email since it puts us at risk for scammers (needed until captcha).
  • Sanitize our inputs from the FE

Mockups

Figma

@adriaaaa adriaaaa changed the title Ability to send HTML to mailgun Ability to send HTML to email service (mailgun) Aug 10, 2022
@eastandwestwind eastandwestwind changed the title Ability to send HTML to email service (mailgun) Implement templates for email service Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants