Ok, meanwhile I tested with 4 different SMTP servers. The same result for all of them, messageGatewayService.getGateway(Email.class) returns null however the configuration works, when I test them with other mail apps.So no idea. Maybe its my environment, I will ask a colleague to test the code on hi...