Added the ability to queue an email message. We might need to move the mail notification generation into a job as well as it can take considerable time to generate a message from a view.