882d14c514
An update to yesterday's patch. Should avoid copying the mail byte string more than once. Tested on Python 2.7 and 3.6.