GIVEN Bob sends a Mail (JMAP/IMAP)
THEN a Sender header is positionned on the email with the logged in user that performed the action
How?
- Mailet DelegatedSenderAuditability
Uses mail metadata org.apache.james.jmap.send.MailMetaData.username and org.apache.james.SMTPAuthUser to populate the Sender header if it is different from the MAIL FROM field.