Commented send mail funciton