Added documentation for sending emails