added name label to send mail function