Allow override of sending e-mails