forgot reference, optimized sendMail