Connect to Gmail server to automatically send email from your WordPress site. Configure wp_mail() to use SMTP with OAuth 2.0 authentication.