renamed get_mime_message() to insert_mime_message()