Travel Advice or Drug and Medical Device email alerts not sent
We expect that when new GOV.UK content is published, or when existing content is updated in a significant way, emails will be sent to any subscribers to notify them of the change.
These checks determine a list of content that we expect subscribers to have been emailed. We use a Gmail account which is subscribed to all travel advice and medical safety alerts to check whether an email has been received within a sufficient time period, if not the checks will fail.
Troubleshooting failed checks
First inspect the console logs for the Jenkins job to confirm the reason for the failure.
Check the mailbox that is used for the check to rule out an issue searching for
firstname.lastname@example.org. Its credentials
can be found in the 2nd line password store under
If the email has been received by the mailbox but the subject of the email doesn't match the title of the content item, this means that the title of the content was updated after it was first published and after the emails went out. To stop the check from constantly failing, add the updated content item title to the acknowledged email list and then re-run the Jenkins job.
Troubleshooting unsent emails
If the check is reporting correctly then emails are not being sent. Try the general troubleshooting tips for unsent emails.
Resending travel advice emails
If you need to force the sending of a travel advice email alert, there
is a rake task in Travel Advice Publisher, which you can run using
this Jenkins job where the edition ID of the
travel advice content item can be found in the URL of the country's edit
page in Travel Advice Publisher and looks like