Merging code with Email Composer with attachments plugin