alphagov/email-alert-service — pull request #35 by pedrosmmoreira (2014-12-16 08:53:19+00:00)
Title: Inject an identifier into email body

Story: https://www.pivotaltracker.com/story/show/84134884

In order to able to compare sent and received emails via the Email alert monitor, we need
to inject an identifier into the email body.

This PR reuses the implementation for generating an identifier for a
message in Redis, injecting it into the wrapper div in the email body
with a `data-uuid` attribute. The use of an HTML data-attribute tries to
make it easier to retrieve the identifier in other apps, such as the
Email alert monitor.