Some cloud providers such as Digital Ocean are blocking the SMTP ports, and advising their customers to deliver emails via API https://docs.digitalocean.com/support/why-is-smtp-blocked We are willing to implement the API offered by Mailgun to send emails instead of SMTP.