Commit Graph

25 Commits

Author SHA1 Message Date
Taylor Wilsdon
21c71cd287 cleanup 2025-07-10 14:08:08 -04:00
Taylor Wilsdon
215e83a56a Update gmail_tools.py 2025-06-18 17:31:57 -04:00
Taylor Wilsdon
7b016b6448 require_google_service decorator for gmail implemented successfully 2025-06-07 09:50:53 -04:00
Taylor Wilsdon
f143998ae7 refac authentication handler 2025-06-06 18:51:34 -04:00
Taylor Wilsdon
100fb4399d refactored all tools to use fastmcp native responses 2025-06-06 17:32:09 -04:00
Taylor Wilsdon
6e7246baef add google sheets support 2025-06-06 12:50:32 -04:00
Taylor Wilsdon
14de679df2 add support for label management to the gmail tool 2025-06-06 12:02:49 -04:00
Taylor Wilsdon
62a1adaf9e refac & cleanup 2025-06-04 18:48:17 -04:00
Taylor Wilsdon
b0bfaff691 minor refac for consistency, cleanup unused imports 2025-06-03 14:16:19 -04:00
Taylor Wilsdon
334b16f9d2 add concurrent batch retrieval for gmail messages 2025-05-26 19:00:27 -04:00
Taylor Wilsdon
3c00274e3f refac to plaintext / remove xml 2025-05-26 17:51:34 -04:00
Marius Wilsch
754a8ed9af feat: enhance Gmail search with XML structure and web interface links
- Add _generate_gmail_web_url() helper function using #all for universal Gmail access
- Update search_gmail_messages to return XML-structured output with index attributes
- Include clickable Gmail web interface URLs for both messages and threads
- Maintain backward compatibility with existing Message/Thread ID usage
- Improve manual verification capabilities for users when multiple threads have same subject
2025-05-25 17:35:58 +08:00
Taylor Wilsdon
9e4add5ac2 refactor authentication to dedupe 2025-05-24 10:43:55 -04:00
Taylor Wilsdon
0f36119e6e refac 2025-05-23 16:16:30 -04:00
Marius Wilsch
be2efe6826 feat: Add Gmail thread support and fix message ID vs thread ID confusion
- Add get_gmail_thread_content() function to retrieve complete conversation threads
- Enhance search_gmail_messages() to display both Message ID and Thread ID clearly
- Add helper function _extract_message_body() for consistent message parsing
- Fix 404 errors caused by using message IDs with thread functions
- Include usage guidance to prevent confusion between message and thread operations
- Add comprehensive documentation for both features

Resolves issue where users couldn't distinguish between message IDs and thread IDs,
leading to API errors when trying to retrieve thread content.
2025-05-24 00:08:19 +08:00
Taylor Wilsdon
558d61fc9e implement single user mode 2025-05-23 11:22:23 -04:00
Taylor Wilsdon
c2428cf268 Merge branch 'main' of github.com:taylorwilsdon/google_workspace_mcp into feature/gmail-draft-message 2025-05-22 14:51:12 -04:00
Taylor Wilsdon
2a9083ede7 refac auth, formatting 2025-05-22 14:21:52 -04:00
Vasu Bhardwaj
b3c2d2e149 Add draft_gmail_message MCP tool
Add new tool to create Gmail draft messages with optional recipients.
This allows users to save email drafts at any stage of composition
without requiring all fields to be completed.

- Implements Gmail draft API integration
- Makes "to" field optional for flexibility
- Uses GMAIL_COMPOSE_SCOPE for authentication
- Maintains existing project patterns for error handling and logging
2025-05-22 00:02:51 +05:30
Taylor Wilsdon
cac5c1292e refactor auth into centralized flow, invoke in uniform manner 2025-05-20 14:51:10 -04:00
Taylor Wilsdon
821bb21600 revert from field 2025-05-20 10:59:04 -04:00
Taylor Wilsdon
8abacb2cc1 add from header, clean up messy gemini refac comments 2025-05-20 10:43:47 -04:00
Mark Valdez
6844818fe1 feat: add Gmail message sending functionality with MIMEText support 2025-05-19 20:57:11 -07:00
Taylor Wilsdon
0bebaee051 unify authentication logic 2025-05-13 12:36:53 -04:00
Taylor Wilsdon
dda55404ab add gmail tool 2025-05-12 17:22:58 -04:00