Move mailer to util and add makeSixDigitToken