Skip to content
Configuring email
Message style

Email style Customizations

In order to implement custom styling for email templates, Fides supports forwarding variables directly to an email provider like Mailgun, Sendgrid, or Twilio. In this tutorial, we are going to walk through an example of using Mailgun to style an email.

While each vendor will vary in how they implement it, the same general steps should apply for all.

For steps to update the content of these messages, please see our guide for configuring email content.

Creating a Mailgun template

A template describes how styling, such as font choices, should be applied to imcoming email content.

To create a template using Mailgun:

  1. Click Create message template and name this new template something helpful (ex. fides) using Mailgun's Visual builder.
Configure the fides template in Mailgun
  1. Modify this email template to match your organization's branding guidelines by following Mailgun's guide to email template building (opens in a new tab).

  2. Add an HTML block to the email template and add the following snippet of code, updating the style as needed, to reference the incoming email content from Fides:

<div style="padding-left: 25px;padding-right: 25px;color: #2D3748;font-family: Arial,sans-serif;font-size: 14px;">  
 
{{fides_email_body}}
 
</div>
Configure the fides template in Mailgun
  1. Test the email tempate by running a privacy request.
Test your privacy request with Fides