Migrate send_to_email to 2.11