updated documentation for sending mails