using make_msgid to create a well-formed message-ID. The lack of brackets causes gmail to reject the message-ID