Here are the official Joomla! Docs for anyone else looking in the future:
How do I use Gmail as my mail server?
If you have a working Gmail account you can use Gmail as your mail
server by setting it in the global configuration.
On the server tab set the following:
SMTP Host: smtp....