DSL:MailSendingMessageHandler

How can that work? `Properties` is not a functional interface.