Added send mail function.