your encryption key you set up might be wrong. The Encryption key needs to be 34 characters. Follow this link, its a step by step how to set up and configure the email. https://austinmcnicholas.com/blog/2019/2/24/setup-email-in-a-mendix-app-in-10-minutes-or-less-9ya8n