I want to setup a custom email imap domain name as a DNS record that points, for example, imap.mydomain.io to imap.google.com, so that I can give imap.mydomain.io url to my email customers. This is because I want them to use imap.mydomain.io address in their email software clients.
I don't know if, for this purpose, I should use a CNAME or a URI in my domain DNS record table.
From the choice of setting up one of those two DNS records, what would be the most elegant and best approach?
Thanks