Fixes problem with Date format in Email objects.