transforming mails as well to keep the payload smaller.