EmailData emailData = new EmailData(toAddr, this.fromAddress, subject);
emailData.setCc(this.cc);
emailData.setBcc(this.bcc);
emailData.setExpiryTime(expiryTimestamp);
String payloadMimetype = msgInfo.getMsgInfoParser(getMsgInfoParserClassName(), pluginConfig).getMimetype(isCompressed);
emailData.addAttachment(new AttachmentHolder(payloadFileName, payloadMimetype, payload));
emailData.addAttachment(new AttachmentHolder(this.messageIdFileName, messageId));
// Bounce all other attachments back to sender
AttachmentHolder[] attachments = msgInfo.getBounceAttachments();
for (int i=0; i<attachments.length; i++) {
AttachmentHolder a = attachments[i];