PEP8 and corrections.
The "references" header actually specifies whether or not it is a reply.
And... references can be None.
Another test for mailman.