You can do it with this appstore module: https://appstore.home.mendix.com/link/app/259/
Check out this documentation aswell: https://docs.mendix.com/developerportal/deploy/sending-email#1-introduction
This option require a lot configuration and complex , is there other nice way ?