class NotifySender extends GenericMailet implements RedirectNotify {

    @Override
    public void init(MailetConfig mailetConfig) throws MessagingException {
        super.init(mailetConfig);
        to = Optional.ofNullable(getInitParameter("to"));
    }

    @Inject  NotifySender(DNSService dns);

}