callback to mailer is optional