class RemoveMailAttribute extends GenericMailet {

    @Override
    public void init() throws MailetException {
        String name = getInitParameter(MAILET_NAME_PARAMETER);

        if (Strings.isNullOrEmpty(name)) {
            throw new MailetException("Please configure at least one attribute to remove");
        }

        attributesToRemove = getAttributes(name);
    }

}