Hook in mail
Command line/mail interface now works