OPENENGSB-3641 Update email-connector to work with the latest framework-changes

Not sure if I'm compiling a wrong version since the issue should exist already for 8 months, but with this it works for me now.