arcade-mcp/toolkits/google
Alex Salazar 7b1110f2b7
Alex gmail improvements (#188)
Improved gmail toolkit. Added support for threading in draft replies,
multipart email parsing, and label management. Fixed the DateRange
parameter issue in list_emails_by_headers. Added logging and removed
print statements. Created custom exceptions for each specific google
toolkit.

-----
Summary of changes by @byrro:

- Fixed minor bug related to the `date_range` argument of
`list_emails_by_header`
- A few utility functions (`build_email_message`,
`build_reply_recipients`, `build_reply_body`) to centralize logic and
remove repeated code from email-sending tools
- New `reply_to_email` tool (apart from `write_draft_reply_email`,
implemented by Alex) to keep the toolkit consistent
- Evals and unit tests
- Handling of reply-to (only sender) and reply-to-all recipients
- Removed some unnecessary debug messages, which Alex had added to
replace print statements
- Removed HTML handling implemented by Alex in `write_draft_reply_email`
> I think we should either support HTML across all applicable tools or
not at all; I decided to remove it and leave this feature for a future
PR.

---------

Co-authored-by: Renato Byrro <rmbyrro@gmail.com>
2025-02-27 11:56:32 -03:00
..
arcade_google Alex gmail improvements (#188) 2025-02-27 11:56:32 -03:00
evals Alex gmail improvements (#188) 2025-02-27 11:56:32 -03:00
tests Alex gmail improvements (#188) 2025-02-27 11:56:32 -03:00
.pre-commit-config.yaml Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
.ruff.toml Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
LICENSE Update README and LICENSE (#220) 2025-01-23 19:43:48 -08:00
Makefile Pin poetry to 1.8.5 (#193) 2025-01-07 13:21:55 -08:00
pyproject.toml [Toolkit Release] Weekly Toolkit Release 02-20-25 (#261) 2025-02-20 13:27:35 -08:00