Only send email for migrations.