refining multipart emails