Adds setup task to fix email status types and values

The status mapping  was changed a month ago but the migration was missing