Switching from SMTP to oAuth

You’ll need to make a plugin or use a mail delivery service that uses smtp auth.