If both dev and prod environment use the same mail domain “xaasio.com” (which I assume it is according to the sender address), then you can expect problems.
You are mixing them up.
Keep the MX record for xaasio.com pointing only to email.xaasio.com, because you want to receive actual mail.
Of course all other records like SPF and DMARC should also be set up accordingly.
Use a different mail domain (like dev.xaasio.com with a MX record pointing to mail.xaasio.com, and configure the mail domains not in both servers!