SMTP Not sending mails to Gmail

In my setup, it didn’t totally work until I put all the mailgun information in my DNS settings for my provider (Namecheap) and on the section that asks about how to handle my mail I selected Google as my provider (because I am using G Suite as my email provider for my domain.

Probably a terrible explanation of how I got it to work.

Who are you using for DNS?