SMTP OAuth example protocol?

I'm currently sending emails in Pipeline Pilot via SMTP with TLS-secured username/password login credentials.  I'm using a variant of the component present in the "Python (on Server) Send Emails Example" example protocol.  I've been told by my site IT that this will be going away, and I instead need to start using SMTP OAuth.  Is there an example protocol which demonstrates sending an email using this authentication?

Thanks,

John Feinberg
Novo Nordisk