class RemoveMailAttribute extends GenericMailet {

    @Override
    public void service(Mail mail) throws MessagingException {
        Preconditions.checkNotNull(mail);
        attributesToRemove.forEach(mail::removeAttribute);
    }

}