Send emails from server
The server now successfully processes the data submitted from the client, parses the data, compiles an html document from jinja templates, and emails this and accompanying file uploads as attachments to the registered users of this platform (i.e. insurance brokers).