reads the email message from amazon ses and updates the status of the email
moved setting to YAML