Add a new dynamic method "sendMessageAndHeadersAndAttachments".