fixed issue with multi-part email