Fixing email notifications.