construct and optionally mail MIME messages
