arcade-mcp/toolkits/google/tests
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
..
__init__.py Add New Gmail Tools To The Google Toolkit (#41) 2024-09-19 10:18:49 -07:00
test_calendar.py Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
test_contacts.py Polish up Google.SearchContacts and CreateContact (#259) 2025-02-20 08:53:12 -08:00
test_docs.py Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
test_drive.py Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
test_gmail.py Alex gmail improvements (#188) 2025-02-27 11:56:32 -03:00