Updated Mail sending to include log and metrics generation

NB: At present I've made the mailer log on success as well as failure. Probably want to remove this at some point