Skip to content

Conversation

alwestmo-openai
Copy link
Contributor

Summary

This PR updates the gpt_action_gmail.ipynb file to reflect changes in the Gmail API integration. Specifically:
• Removed the no longer supported getEmailMetadata method from the OpenAPI schema.
• Added the modify method to enable programmatic modification of email labels.
These changes ensure the guide aligns with the current capabilities of the Gmail API and supports relevant use cases for developers.

Motivation

The getEmailMetadata method is deprecated and no longer supported by the Gmail API, which could cause confusion or errors for developers. Replacing it with the modify method addresses this gap by providing functionality for modifying email labels, a feature commonly used in workflows for email organization and management.


For new content

When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

  • I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
  • I have conducted a self-review of my content based on the contribution guidelines:
    • Relevance: This content is related to building with OpenAI technologies and is useful to others.
    • Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
    • Spelling and Grammar: I have checked for spelling or grammatical mistakes.
    • Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
    • Correctness: The information I include is correct and all of my code executes successfully.
    • Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

Copy link
Contributor

@aaronwilkowitz-openai aaronwilkowitz-openai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aaronwilkowitz-openai aaronwilkowitz-openai merged commit 0d524a1 into main Dec 2, 2024
@aaronwilkowitz-openai aaronwilkowitz-openai deleted the gmail-metadata-fix branch December 2, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants