add config.action_mailer.raise_delivery_errors = true