omi icon indicating copy to clipboard operation
omi copied to clipboard

[Bounty proposal] fix(gmail-tools): guard None/malformed payload parsing and clamp max_results ($50 proposed)

Open Booshdag-io opened this issue 1 month ago • 1 comments

Summary

Hardens gmail_tools.py in backend/utils/retrieval/tools/ against:

  • Unhandled AttributeError on messages with payload: None or non-dict structures.
  • Unhandled AttributeError when multipart parts have body: None.
  • Corrupt base64 padding or invalid header format crashes.
  • Unclamped or negative max_results in get_gmail_messages.

Paired Pull Request: #23209 Pull Request URL: https://github.com/BasedHardware/omi/pull/23209

Proposed Bounty: $50 USD Payout Address (Base Mainnet USDC): 0xb95e2AD8E9D9e9BF902c7531577Cd0E1ceB203D4

Booshdag-io avatar Oct 22 '26 04:10 Booshdag-io

Thanks for putting this together. We aren't doing bounties at the moment, so we're closing the bounty proposal issues for now — thanks for the fix! 🙏

undivisible avatar Oct 22 '26 11:10 undivisible