Moved mandrill connection instantiation to the Flask app

That way a connection can be established each time emails need to
be sent - hopefully preventing any errors generated by that connection
timing out.