Gmail IMAP Data Model
Stored Procedures
Stored Procedures are function-like interfaces to Gmail. Stored procedures allow you to execute operations to Gmail, such as retrieving the OAuth Access Token.
Note: If you are referencing a gmail default mailbox as an input of a stored procedure make sure to write it in the correct format. Example: [Gmail]/SENT.