MIMEText.__init__()'s _text argument if it doesn't already end in a newline. This may be controversial.
Attach a file by drag & drop or click to upload