Sails email hook