Rewrite of Salesforce trigger that moves attachements from an EmailMessage to that EmailMessage's parent