extension that pollutes the local namespace with a send_mail() sub that sends mail