universal-mcp-applications 0.1.13__py3-none-any.whl → 0.1.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of universal-mcp-applications might be problematic. Click here for more details.

Files changed (54) hide show
  1. universal_mcp/applications/aws_s3/app.py +71 -71
  2. universal_mcp/applications/calendly/app.py +199 -199
  3. universal_mcp/applications/canva/app.py +189 -189
  4. universal_mcp/applications/domain_checker/app.py +31 -24
  5. universal_mcp/applications/e2b/app.py +6 -7
  6. universal_mcp/applications/elevenlabs/app.py +24 -20
  7. universal_mcp/applications/exa/app.py +25 -20
  8. universal_mcp/applications/falai/app.py +44 -41
  9. universal_mcp/applications/file_system/app.py +20 -12
  10. universal_mcp/applications/firecrawl/app.py +46 -47
  11. universal_mcp/applications/fireflies/app.py +79 -79
  12. universal_mcp/applications/fpl/app.py +83 -74
  13. universal_mcp/applications/github/README.md +0 -1028
  14. universal_mcp/applications/github/app.py +55 -50227
  15. universal_mcp/applications/google_calendar/app.py +63 -65
  16. universal_mcp/applications/google_docs/app.py +78 -78
  17. universal_mcp/applications/google_drive/app.py +361 -440
  18. universal_mcp/applications/google_gemini/app.py +34 -17
  19. universal_mcp/applications/google_mail/app.py +117 -117
  20. universal_mcp/applications/google_searchconsole/app.py +41 -47
  21. universal_mcp/applications/google_sheet/app.py +157 -164
  22. universal_mcp/applications/http_tools/app.py +16 -16
  23. universal_mcp/applications/linkedin/app.py +26 -31
  24. universal_mcp/applications/ms_teams/app.py +190 -190
  25. universal_mcp/applications/openai/app.py +55 -56
  26. universal_mcp/applications/outlook/app.py +57 -57
  27. universal_mcp/applications/perplexity/app.py +17 -17
  28. universal_mcp/applications/reddit/app.py +225 -4053
  29. universal_mcp/applications/replicate/app.py +40 -42
  30. universal_mcp/applications/resend/app.py +157 -154
  31. universal_mcp/applications/scraper/app.py +24 -24
  32. universal_mcp/applications/serpapi/app.py +18 -20
  33. universal_mcp/applications/sharepoint/app.py +46 -36
  34. universal_mcp/applications/slack/app.py +66 -66
  35. universal_mcp/applications/tavily/app.py +7 -7
  36. universal_mcp/applications/twitter/api_segments/compliance_api.py +17 -20
  37. universal_mcp/applications/twitter/api_segments/dm_conversations_api.py +35 -40
  38. universal_mcp/applications/twitter/api_segments/dm_events_api.py +18 -21
  39. universal_mcp/applications/twitter/api_segments/likes_api.py +19 -22
  40. universal_mcp/applications/twitter/api_segments/lists_api.py +59 -68
  41. universal_mcp/applications/twitter/api_segments/spaces_api.py +36 -42
  42. universal_mcp/applications/twitter/api_segments/trends_api.py +7 -8
  43. universal_mcp/applications/twitter/api_segments/tweets_api.py +159 -185
  44. universal_mcp/applications/twitter/api_segments/usage_api.py +5 -6
  45. universal_mcp/applications/twitter/api_segments/users_api.py +230 -264
  46. universal_mcp/applications/unipile/app.py +99 -105
  47. universal_mcp/applications/whatsapp/app.py +86 -82
  48. universal_mcp/applications/whatsapp_business/app.py +147 -147
  49. universal_mcp/applications/youtube/app.py +290 -290
  50. universal_mcp/applications/zenquotes/app.py +6 -6
  51. {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/METADATA +1 -1
  52. {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/RECORD +54 -54
  53. {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/WHEEL +0 -0
  54. {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/licenses/LICENSE +0 -0
@@ -24,23 +24,23 @@ class GoogleMailApp(APIApplication):
24
24
  thread_id: str | None = None,
25
25
  ) -> dict[str, Any]:
26
26
  """
27
- Sends an email using the Gmail API and returns a confirmation or error message.
28
-
27
+ Composes and immediately sends an email message via the Gmail API. It can function as a reply within an existing conversation if a `thread_id` is provided. This action is distinct from `send_draft`, which sends a previously saved draft message.
28
+
29
29
  Args:
30
30
  to: The email address of the recipient
31
31
  subject: The subject line of the email
32
32
  body: The content of the email message
33
33
  body_type: The MIME subtype for the body ("plain" or "html"). Defaults to "plain".
34
34
  thread_id: Optional thread ID to make this a reply to an existing conversation
35
-
35
+
36
36
  Returns:
37
37
  A string containing either a success confirmation message or an error description
38
-
38
+
39
39
  Raises:
40
40
  NotAuthorizedError: When Gmail API authentication is not valid or has expired
41
41
  KeyError: When required configuration keys are missing
42
42
  Exception: For any other unexpected errors during the email sending process
43
-
43
+
44
44
  Tags:
45
45
  send, email, api, communication, important, thread, reply, openWorldHint
46
46
  """
@@ -79,23 +79,23 @@ class GoogleMailApp(APIApplication):
79
79
  thread_id: str | None = None,
80
80
  ) -> dict[str, Any]:
81
81
  """
82
- Creates a draft email message in Gmail using the Gmail API and returns a confirmation status.
83
-
82
+ Saves a new draft email in Gmail with a specified recipient, subject, and body. An optional thread ID can be provided to create the draft as a reply within an existing conversation, distinguishing it from `send_email` which sends immediately.
83
+
84
84
  Args:
85
85
  to: The email address of the recipient
86
86
  subject: The subject line of the draft email
87
87
  body: The main content/message of the draft email
88
88
  body_type: The MIME subtype for the body ("plain" or "html"). Defaults to "plain".
89
89
  thread_id: Optional thread ID to make this draft a reply to an existing conversation
90
-
90
+
91
91
  Returns:
92
92
  A string containing either a success message with the draft ID or an error message describing the failure
93
-
93
+
94
94
  Raises:
95
95
  NotAuthorizedError: When the user's Gmail API authorization is invalid or expired
96
96
  KeyError: When required configuration keys are missing
97
97
  Exception: For general API errors, network issues, or other unexpected problems
98
-
98
+
99
99
  Tags:
100
100
  create, email, draft, gmail, api, important, thread, reply, html
101
101
  """
@@ -118,19 +118,19 @@ class GoogleMailApp(APIApplication):
118
118
 
119
119
  def send_draft(self, draft_id: str) -> dict[str, Any]:
120
120
  """
121
- Sends an existing draft email using the Gmail API and returns a confirmation message.
122
-
121
+ Sends a pre-existing Gmail draft identified by its unique ID. It posts to the `/drafts/send` endpoint, converting a saved draft into a sent message. This function acts on drafts created via `create_draft` and differs from `send_email`, which sends a new email in one step.
122
+
123
123
  Args:
124
124
  draft_id: The unique identifier of the Gmail draft to be sent
125
-
125
+
126
126
  Returns:
127
127
  A string containing either a success message with the sent message ID or an error message detailing the failure reason
128
-
128
+
129
129
  Raises:
130
130
  NotAuthorizedError: When the user's Gmail API authorization is invalid or expired
131
131
  KeyError: When required configuration keys are missing from the API response
132
132
  Exception: For other unexpected errors during the API request or response handling
133
-
133
+
134
134
  Tags:
135
135
  send, email, api, communication, important, draft
136
136
  """
@@ -147,20 +147,20 @@ class GoogleMailApp(APIApplication):
147
147
 
148
148
  def get_draft(self, draft_id: str, format: str = "full") -> dict[str, Any]:
149
149
  """
150
- Retrieves and formats a specific draft email from Gmail by its ID
151
-
150
+ Retrieves a specific Gmail draft by its unique ID. This function allows specifying the output format (e.g., full, raw) to control the response detail. Unlike `list_drafts`, it fetches a single, known draft rather than a collection of multiple drafts.
151
+
152
152
  Args:
153
153
  draft_id: String identifier of the draft email to retrieve
154
154
  format: Output format of the draft (options: minimal, full, raw, metadata). Defaults to 'full'
155
-
155
+
156
156
  Returns:
157
157
  A formatted string containing the draft email details (ID, recipient, subject) or an error message if retrieval fails
158
-
158
+
159
159
  Raises:
160
160
  NotAuthorizedError: When the user's Gmail authorization is invalid or expired
161
161
  KeyError: When required configuration keys or response data fields are missing
162
162
  Exception: For any other unexpected errors during draft retrieval
163
-
163
+
164
164
  Tags:
165
165
  retrieve, email, gmail, draft, api, format, important
166
166
  """
@@ -183,21 +183,21 @@ class GoogleMailApp(APIApplication):
183
183
  include_spam_trash: bool = False,
184
184
  ) -> dict[str, Any]:
185
185
  """
186
- Retrieves and formats a list of email drafts from the user's Gmail mailbox with optional filtering and pagination.
187
-
186
+ Retrieves a list of email drafts from a Gmail account, supporting filtering via search query and limiting results. Can optionally include drafts from spam and trash, returning the raw API response with draft objects and metadata, distinguishing it from `get_draft` which fetches a single, specific draft.
187
+
188
188
  Args:
189
189
  max_results: Maximum number of drafts to return (max 500, default 20)
190
190
  q: Search query string to filter drafts using Gmail search syntax (default None)
191
191
  include_spam_trash: Boolean flag to include drafts from spam and trash folders (default False)
192
-
192
+
193
193
  Returns:
194
194
  A formatted string containing the list of draft IDs and count information, or an error message if the request fails
195
-
195
+
196
196
  Raises:
197
197
  NotAuthorizedError: When the Gmail API authentication is missing or invalid
198
198
  KeyError: When required configuration keys are missing
199
199
  Exception: For general errors during API communication or data processing
200
-
200
+
201
201
  Tags:
202
202
  list, email, drafts, gmail, api, search, query, pagination, important
203
203
  """
@@ -219,16 +219,16 @@ class GoogleMailApp(APIApplication):
219
219
 
220
220
  return self._handle_response(response)
221
221
 
222
- def get_message(self, message_id: str) -> dict[str, Any]:
222
+ def get_message_details(self, message_id: str) -> dict[str, Any]:
223
223
  """
224
- Retrieves and formats a specific email message from Gmail API by its ID, including sender, recipient, date, subject, and full message body content.
225
-
224
+ Retrieves a specific email from Gmail by its ID. It parses the API response to extract and format key details—including sender, recipient, subject, and full body content—into a structured dictionary. This provides detailed data for other functions like `list_messages`.
225
+
226
226
  Args:
227
227
  message_id: The unique identifier of the Gmail message to retrieve
228
-
228
+
229
229
  Returns:
230
230
  A dictionary containing the cleaned message details (serializable as JSON)
231
-
231
+
232
232
  Tags:
233
233
  retrieve, email, format, api, gmail, message, important, body, content, attachments
234
234
  """
@@ -387,8 +387,8 @@ class GoogleMailApp(APIApplication):
387
387
  page_token: str | None = None,
388
388
  ) -> dict[str, Any]:
389
389
  """
390
- Retrieves and formats a list of messages from the user's Gmail mailbox with optional filtering and pagination support.
391
-
390
+ Fetches a paginated list of detailed email messages from Gmail using optional search queries. It concurrently retrieves the full content (sender, subject, body) for each message, returning the results and a token to access the next page. This differs from `get_message` which fetches only one.
391
+
392
392
  Args:
393
393
  max_results: Maximum number of messages to return (max 500, default 20)
394
394
  q: Search query string to filter messages using Gmail search syntax.
@@ -409,15 +409,15 @@ class GoogleMailApp(APIApplication):
409
409
  - 'has:attachment' for emails with attachments
410
410
  - 'is:unread' for unread emails
411
411
  include_spam_trash: Boolean flag to include messages from spam and trash folders (default False)
412
-
412
+
413
413
  Returns:
414
414
  A dictionary containing the list of messages and next page token for pagination
415
-
415
+
416
416
  Raises:
417
417
  NotAuthorizedError: When the Gmail API authentication is invalid or missing
418
418
  KeyError: When required configuration keys are missing
419
419
  Exception: For general API errors, network issues, or other unexpected problems
420
-
420
+
421
421
  Tags:
422
422
  list, messages, gmail, search, query, pagination, important
423
423
  """
@@ -469,21 +469,21 @@ class GoogleMailApp(APIApplication):
469
469
  "next_page_token": data.get("nextPageToken"),
470
470
  }
471
471
 
472
- def get_thread(self, thread_id: str) -> dict[str, Any]:
472
+ def get_email_thread(self, thread_id: str) -> dict[str, Any]:
473
473
  """
474
- Retrieves a specific thread and all its messages from Gmail API.
475
-
474
+ Retrieves a complete email conversation from the Gmail API by its thread ID. It returns a dictionary containing all messages and metadata for the entire thread, providing the full context of the conversation.
475
+
476
476
  Args:
477
477
  thread_id: The unique identifier of the Gmail thread to retrieve
478
-
478
+
479
479
  Returns:
480
480
  A dictionary containing the thread details and all messages in the thread
481
-
481
+
482
482
  Raises:
483
483
  NotAuthorizedError: When Gmail API authentication is invalid or missing
484
484
  KeyError: When required configuration keys are missing
485
485
  Exception: For general errors during API communication or data processing
486
-
486
+
487
487
  Tags:
488
488
  retrieve, email, thread, gmail, api, conversation, important, readOnlyHint, openWorldHint
489
489
  """
@@ -494,18 +494,18 @@ class GoogleMailApp(APIApplication):
494
494
 
495
495
  def list_labels(self) -> dict[str, Any]:
496
496
  """
497
- Retrieves and formats a list of all labels (both system and user-created) from the user's Gmail account, organizing them by type and sorting them alphabetically.
498
-
497
+ Fetches a complete list of all available labels from the user's Gmail account via the API. This includes both system-defined (e.g., INBOX) and user-created labels, returning details such as their names, IDs, and types after standard response handling.
498
+
499
499
  Args:
500
500
  None: This method takes no arguments
501
-
501
+
502
502
  Returns:
503
503
  A formatted string containing a list of Gmail labels categorized by type (system and user), with their IDs, or an error message if the operation fails.
504
-
504
+
505
505
  Raises:
506
506
  NotAuthorizedError: Raised when the user's Gmail authorization is invalid or missing
507
507
  Exception: Raised when any other unexpected error occurs during the API request or data processing
508
-
508
+
509
509
  Tags:
510
510
  list, gmail, labels, fetch, organize, important, management
511
511
  """
@@ -520,18 +520,18 @@ class GoogleMailApp(APIApplication):
520
520
 
521
521
  def create_label(self, name: str) -> dict[str, Any]:
522
522
  """
523
- Creates a new Gmail label with specified visibility settings and returns creation status details.
524
-
523
+ Creates a new Gmail label with a specified name. The function hardcodes the label's visibility settings to ensure it appears in both the label and message lists. It returns the API response, which includes the new label's details upon success or an error message on failure.
524
+
525
525
  Args:
526
526
  name: The display name of the label to create
527
-
527
+
528
528
  Returns:
529
529
  A formatted string containing the creation status, including the new label's name and ID if successful, or an error message if the creation fails
530
-
530
+
531
531
  Raises:
532
532
  NotAuthorizedError: Raised when the request lacks proper Gmail API authorization
533
533
  Exception: Raised for any other unexpected errors during label creation
534
-
534
+
535
535
  Tags:
536
536
  create, label, gmail, management, important
537
537
  """
@@ -553,18 +553,18 @@ class GoogleMailApp(APIApplication):
553
553
 
554
554
  def get_profile(self) -> dict[str, Any]:
555
555
  """
556
- Retrieves and formats the user's Gmail profile information including email address, message count, thread count, and history ID.
557
-
556
+ Retrieves the authenticated user's Gmail profile from the API. The profile includes the user's email address, total message and thread counts, and the mailbox's history ID, offering a high-level summary of the account's state.
557
+
558
558
  Args:
559
559
  None: This method takes no arguments besides self
560
-
560
+
561
561
  Returns:
562
562
  A formatted string containing the user's Gmail profile information or an error message if the request fails
563
-
563
+
564
564
  Raises:
565
565
  NotAuthorizedError: Raised when the user's credentials are invalid or authorization is required
566
566
  Exception: Raised for any other unexpected errors during the API request or data processing
567
-
567
+
568
568
  Tags:
569
569
  fetch, profile, gmail, user-info, api-request, important
570
570
  """
@@ -576,7 +576,7 @@ class GoogleMailApp(APIApplication):
576
576
  response = self._get(url)
577
577
  return self._handle_response(response)
578
578
 
579
- def update_drafts(
579
+ def update_draft(
580
580
  self,
581
581
  userId,
582
582
  id,
@@ -594,8 +594,8 @@ class GoogleMailApp(APIApplication):
594
594
  message=None,
595
595
  ) -> dict[str, Any]:
596
596
  """
597
- Updates an existing Gmail draft with new message content and metadata.
598
-
597
+ Updates a specific Gmail draft by its ID, replacing its existing content and metadata. The new message body and headers are provided in a message object, allowing for complete modification of the draft before it is sent.
598
+
599
599
  Args:
600
600
  userId (string): userId
601
601
  id (string): id
@@ -658,10 +658,10 @@ class GoogleMailApp(APIApplication):
658
658
  }
659
659
  }
660
660
  ```
661
-
661
+
662
662
  Returns:
663
663
  dict[str, Any]: Successful response
664
-
664
+
665
665
  Tags:
666
666
  Drafts
667
667
  """
@@ -696,7 +696,7 @@ class GoogleMailApp(APIApplication):
696
696
  response.raise_for_status()
697
697
  return response.json()
698
698
 
699
- def trash_messsages(
699
+ def trash_message(
700
700
  self,
701
701
  userId,
702
702
  id,
@@ -713,8 +713,8 @@ class GoogleMailApp(APIApplication):
713
713
  xgafv=None,
714
714
  ) -> dict[str, Any]:
715
715
  """
716
- Moves a message to the trash folder (acts like delete functionality).
717
-
716
+ Moves a specific Gmail message to the trash folder using its unique ID. This action serves as a soft delete and is the direct counterpart to `untrash_messages`, which restores a trashed message. It requires both a user ID and message ID to execute.
717
+
718
718
  Args:
719
719
  userId (string): userId
720
720
  id (string): id
@@ -729,10 +729,10 @@ class GoogleMailApp(APIApplication):
729
729
  upload_protocol (string): Upload protocol for media (e.g. "raw", "multipart"). Example: '{{upload_protocol}}'.
730
730
  uploadType (string): Legacy upload protocol for media (e.g. "media", "multipart"). Example: '{{uploadType}}'.
731
731
  xgafv (string): V1 error format. Example: '{{$.xgafv}}'.
732
-
732
+
733
733
  Returns:
734
734
  dict[str, Any]: Successful response
735
-
735
+
736
736
  Tags:
737
737
  Messages, important
738
738
  """
@@ -762,7 +762,7 @@ class GoogleMailApp(APIApplication):
762
762
  response.raise_for_status()
763
763
  return response.json()
764
764
 
765
- def untrash_messages(
765
+ def untrash_message(
766
766
  self,
767
767
  userId,
768
768
  id,
@@ -779,8 +779,8 @@ class GoogleMailApp(APIApplication):
779
779
  xgafv=None,
780
780
  ) -> dict[str, Any]:
781
781
  """
782
- Moves a message out of the trash, effectively undoing a trash action and restoring the message to the user's mailbox.
783
-
782
+ Restores a specific Gmail message from the trash to the user's mailbox, identified by its unique ID. It serves as the direct counterpart to `trash_messsages`, undoing the deletion action and making the message visible again in the user's account via an API call.
783
+
784
784
  Args:
785
785
  userId (string): userId
786
786
  id (string): id
@@ -795,10 +795,10 @@ class GoogleMailApp(APIApplication):
795
795
  upload_protocol (string): Upload protocol for media (e.g. "raw", "multipart"). Example: '{{upload_protocol}}'.
796
796
  uploadType (string): Legacy upload protocol for media (e.g. "media", "multipart"). Example: '{{uploadType}}'.
797
797
  xgafv (string): V1 error format. Example: '{{$.xgafv}}'.
798
-
798
+
799
799
  Returns:
800
800
  dict[str, Any]: Successful response
801
-
801
+
802
802
  Tags:
803
803
  Messages
804
804
  """
@@ -828,7 +828,7 @@ class GoogleMailApp(APIApplication):
828
828
  response.raise_for_status()
829
829
  return response.json()
830
830
 
831
- def get_attachments(
831
+ def get_attachment(
832
832
  self,
833
833
  userId,
834
834
  messageId,
@@ -846,8 +846,8 @@ class GoogleMailApp(APIApplication):
846
846
  xgafv=None,
847
847
  ) -> dict[str, Any]:
848
848
  """
849
- Retrieves the actual file content of a specific attachment from a Gmail message
850
-
849
+ Retrieves a specific email attachment's content by its unique ID from a specified message. It requires the user, message, and attachment IDs to make a targeted API request, returning the attachment's size and base64-encoded data.
850
+
851
851
  Args:
852
852
  userId (string): userId
853
853
  messageId (string): messageId
@@ -863,10 +863,10 @@ class GoogleMailApp(APIApplication):
863
863
  upload_protocol (string): Upload protocol for media (e.g. "raw", "multipart"). Example: '{{upload_protocol}}'.
864
864
  uploadType (string): Legacy upload protocol for media (e.g. "media", "multipart"). Example: '{{uploadType}}'.
865
865
  xgafv (string): V1 error format. Example: '{{$.xgafv}}'.
866
-
866
+
867
867
  Returns:
868
868
  dict[str, Any]: Successful response
869
-
869
+
870
870
  Tags:
871
871
  Messages
872
872
  """
@@ -898,7 +898,7 @@ class GoogleMailApp(APIApplication):
898
898
  response.raise_for_status()
899
899
  return response.json()
900
900
 
901
- def update_labels(
901
+ def update_label(
902
902
  self,
903
903
  userId,
904
904
  id,
@@ -924,8 +924,8 @@ class GoogleMailApp(APIApplication):
924
924
  type=None,
925
925
  ) -> dict[str, Any]:
926
926
  """
927
- Update an existing Gmail label's properties such as name, color, or visibility.
928
-
927
+ Updates an existing Gmail label's properties, such as its name, color, or visibility, using its unique ID. It sends a PUT request to the Gmail API and returns the full, updated label resource as a dictionary upon successful modification.
928
+
929
929
  Args:
930
930
  userId (string): userId
931
931
  id (string): id
@@ -967,10 +967,10 @@ class GoogleMailApp(APIApplication):
967
967
  "type": "system"
968
968
  }
969
969
  ```
970
-
970
+
971
971
  Returns:
972
972
  dict[str, Any]: Successful response
973
-
973
+
974
974
  Tags:
975
975
  Labels
976
976
  """
@@ -1013,7 +1013,7 @@ class GoogleMailApp(APIApplication):
1013
1013
  response.raise_for_status()
1014
1014
  return response.json()
1015
1015
 
1016
- def delete_labels(
1016
+ def delete_label(
1017
1017
  self,
1018
1018
  userId,
1019
1019
  id,
@@ -1030,8 +1030,8 @@ class GoogleMailApp(APIApplication):
1030
1030
  xgafv=None,
1031
1031
  ) -> Any:
1032
1032
  """
1033
- Delete a Gmail label by its ID.
1034
-
1033
+ Permanently removes a specific Gmail label from a user's account, identified by its unique ID. This function performs an irreversible deletion via an API call, requiring both the `userId` and the label `id`. It is the destructive counterpart to `create_label` and `update_labels`.
1034
+
1035
1035
  Args:
1036
1036
  userId (string): userId
1037
1037
  id (string): id
@@ -1046,10 +1046,10 @@ class GoogleMailApp(APIApplication):
1046
1046
  upload_protocol (string): Upload protocol for media (e.g. "raw", "multipart"). Example: '{{upload_protocol}}'.
1047
1047
  uploadType (string): Legacy upload protocol for media (e.g. "media", "multipart"). Example: '{{uploadType}}'.
1048
1048
  xgafv (string): V1 error format. Example: '{{$.xgafv}}'.
1049
-
1049
+
1050
1050
  Returns:
1051
1051
  Any: No Content
1052
-
1052
+
1053
1053
  Tags:
1054
1054
  Labels
1055
1055
  """
@@ -1079,7 +1079,7 @@ class GoogleMailApp(APIApplication):
1079
1079
  response.raise_for_status()
1080
1080
  return response.json()
1081
1081
 
1082
- def get_filters(
1082
+ def get_filter(
1083
1083
  self,
1084
1084
  userId,
1085
1085
  id,
@@ -1096,8 +1096,8 @@ class GoogleMailApp(APIApplication):
1096
1096
  xgafv=None,
1097
1097
  ) -> dict[str, Any]:
1098
1098
  """
1099
- Fetch Gmail filter configuration and rules by filter ID
1100
-
1099
+ Fetches the configuration for a single Gmail filter using its unique ID. It returns the specific criteria (e.g., from, subject) and the automated actions (e.g., add label, archive) defined for that filter.
1100
+
1101
1101
  Args:
1102
1102
  userId (string): userId
1103
1103
  id (string): id
@@ -1112,10 +1112,10 @@ class GoogleMailApp(APIApplication):
1112
1112
  upload_protocol (string): Upload protocol for media (e.g. "raw", "multipart"). Example: '{{upload_protocol}}'.
1113
1113
  uploadType (string): Legacy upload protocol for media (e.g. "media", "multipart"). Example: '{{uploadType}}'.
1114
1114
  xgafv (string): V1 error format. Example: '{{$.xgafv}}'.
1115
-
1115
+
1116
1116
  Returns:
1117
1117
  dict[str, Any]: Successful response
1118
-
1118
+
1119
1119
  Tags:
1120
1120
  settings, Filters
1121
1121
  """
@@ -1145,7 +1145,7 @@ class GoogleMailApp(APIApplication):
1145
1145
  response.raise_for_status()
1146
1146
  return response.json()
1147
1147
 
1148
- def delete_filters(
1148
+ def delete_filter(
1149
1149
  self,
1150
1150
  userId,
1151
1151
  id,
@@ -1162,8 +1162,8 @@ class GoogleMailApp(APIApplication):
1162
1162
  xgafv=None,
1163
1163
  ) -> Any:
1164
1164
  """
1165
- Remove Gmail filter and its associated automation rules
1166
-
1165
+ Deletes a specific Gmail filter using its unique ID for a specified user account. This action permanently removes the filter and its associated automation rules, such as applying labels or forwarding messages, from the user's Gmail settings.
1166
+
1167
1167
  Args:
1168
1168
  userId (string): userId
1169
1169
  id (string): id
@@ -1178,10 +1178,10 @@ class GoogleMailApp(APIApplication):
1178
1178
  upload_protocol (string): Upload protocol for media (e.g. "raw", "multipart"). Example: '{{upload_protocol}}'.
1179
1179
  uploadType (string): Legacy upload protocol for media (e.g. "media", "multipart"). Example: '{{uploadType}}'.
1180
1180
  xgafv (string): V1 error format. Example: '{{$.xgafv}}'.
1181
-
1181
+
1182
1182
  Returns:
1183
1183
  Any: No Content
1184
-
1184
+
1185
1185
  Tags:
1186
1186
  settings, Filters
1187
1187
  """
@@ -1211,7 +1211,7 @@ class GoogleMailApp(APIApplication):
1211
1211
  response.raise_for_status()
1212
1212
  return response.json()
1213
1213
 
1214
- def list_filters(
1214
+ def get_all_filters(
1215
1215
  self,
1216
1216
  userId,
1217
1217
  access_token=None,
@@ -1227,8 +1227,8 @@ class GoogleMailApp(APIApplication):
1227
1227
  xgafv=None,
1228
1228
  ) -> dict[str, Any]:
1229
1229
  """
1230
- Retrieve all Gmail filters and their automation settings
1231
-
1230
+ Retrieves all configured email filters for a specified Gmail user ID. It fetches a list of a user's filters, including their matching criteria and automated actions, providing a comprehensive overview of their email organization rules via the Gmail API.
1231
+
1232
1232
  Args:
1233
1233
  userId (string): userId
1234
1234
  access_token (string): OAuth access token. Example: '{{access_token}}'.
@@ -1242,10 +1242,10 @@ class GoogleMailApp(APIApplication):
1242
1242
  upload_protocol (string): Upload protocol for media (e.g. "raw", "multipart"). Example: '{{upload_protocol}}'.
1243
1243
  uploadType (string): Legacy upload protocol for media (e.g. "media", "multipart"). Example: '{{uploadType}}'.
1244
1244
  xgafv (string): V1 error format. Example: '{{$.xgafv}}'.
1245
-
1245
+
1246
1246
  Returns:
1247
1247
  dict[str, Any]: Successful response
1248
-
1248
+
1249
1249
  Tags:
1250
1250
  settings, Filters
1251
1251
  """
@@ -1273,7 +1273,7 @@ class GoogleMailApp(APIApplication):
1273
1273
  response.raise_for_status()
1274
1274
  return response.json()
1275
1275
 
1276
- def create_filters(
1276
+ def create_filter(
1277
1277
  self,
1278
1278
  userId,
1279
1279
  access_token=None,
@@ -1292,8 +1292,8 @@ class GoogleMailApp(APIApplication):
1292
1292
  id=None,
1293
1293
  ) -> dict[str, Any]:
1294
1294
  """
1295
- Set up new Gmail filter with criteria and automated actions
1296
-
1295
+ Sets up a new automated email filter in Gmail. It requires defining matching criteria (like sender or subject) and an action (like adding a label) to apply to emails that meet those criteria for a specified user account.
1296
+
1297
1297
  Args:
1298
1298
  userId (string): userId
1299
1299
  access_token (string): OAuth access token. Example: '{{access_token}}'.
@@ -1338,10 +1338,10 @@ class GoogleMailApp(APIApplication):
1338
1338
  "id": "in aute anim"
1339
1339
  }
1340
1340
  ```
1341
-
1341
+
1342
1342
  Returns:
1343
1343
  dict[str, Any]: Successful response
1344
-
1344
+
1345
1345
  Tags:
1346
1346
  settings, Filters
1347
1347
  """
@@ -1382,20 +1382,20 @@ class GoogleMailApp(APIApplication):
1382
1382
  self.send_draft,
1383
1383
  self.get_draft,
1384
1384
  self.list_drafts,
1385
- self.get_message,
1385
+ self.get_message_details,
1386
1386
  self.list_messages,
1387
1387
  self.list_labels,
1388
1388
  self.create_label,
1389
1389
  self.get_profile,
1390
1390
  # Auto Generated from openapi spec
1391
- self.update_drafts,
1392
- self.trash_messsages,
1393
- self.untrash_messages,
1394
- self.get_attachments,
1395
- self.update_labels,
1396
- self.delete_labels,
1397
- self.get_filters,
1398
- self.delete_filters,
1399
- self.list_filters,
1400
- self.create_filters,
1391
+ self.update_draft,
1392
+ self.trash_message,
1393
+ self.untrash_message,
1394
+ self.get_attachment,
1395
+ self.update_label,
1396
+ self.delete_label,
1397
+ self.get_filter,
1398
+ self.delete_filter,
1399
+ self.get_all_filters,
1400
+ self.create_filter,
1401
1401
  ]