Use Gmail for transactional emails from site its not the best way, anyway if you like it, there is one smtp plugin which use OAuth 2.0 so this can handle Google mails well.
https://wordpress.org/plugins/postman-smtp/
↧
Peter Cralen on "[Plugin: WP Mail SMTP] Not sending with some gmail accounts"
↧