Added mailer.js function ticketMail, takes a user and sends email