matimo-gmail
Gmail tools for Matimo - send, list, read, and delete emails.
Installation
pip install matimo matimo-gmail
Available Tools (6 Total)
| Tool | Description |
|---|---|
gmail-send-email |
Send an email (to, subject, body, cc, bcc, html) |
gmail-list-messages |
List messages with optional query/label filters |
gmail-get-message |
Get full message content by ID |
gmail-get-attachment |
Fetch a message attachment by ID (base64url-encoded) |
gmail-create-draft |
Create a draft email |
gmail-delete-message |
Move message to trash |
Quick Start
import asyncio
from matimo import Matimo
from matimo_gmail import get_tools_path
async def main():
matimo = await Matimo.init(get_tools_path())
# Send an email
await matimo.execute('gmail-send-email', {
'to': 'user@example.com',
'subject': 'Hello from Matimo',
'body': 'This message was sent by an AI agent.',
})
# List recent messages
result = await matimo.execute('gmail-list-messages', {
'query': 'is:unread',
'max_results': 10,
})
asyncio.run(main())
Authentication
Gmail tools use OAuth2. Set your credentials via environment variables:
export GMAIL_ACCESS_TOKEN="ya29.your-oauth2-access-token"
Getting an Access Token (OAuth2)
- Create a project in Google Cloud Console
- Enable the Gmail API
- Create OAuth 2.0 credentials (Desktop app)
- Run the OAuth flow to get an access token
Documentation
Links
- PyPI: https://pypi.org/project/matimo-gmail/
- GitHub: https://github.com/tallclub/matimo
- Gmail API Docs: https://developers.google.com/gmail/api
Metadata
Release files for matimo-gmail 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| matimo_gmail-0.2.0.tar.gz | 8.4 kB | Without provenance | Details for matimo_gmail-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matimo_gmail-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for matimo_gmail-0.2.0-py3-none-any.whl |
Total release size: 19.9 kB
Release files / matimo_gmail-0.2.0.tar.gz
| Download URL | matimo_gmail-0.2.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f8486e67221231cd0a00ccb0c652de160a08f8b0cfc604c4d8f283c9b5866cd
|
|
BLAKE2b-256 checksum How to use checksums |
068ee7a2507a43043512bfb0f55763cc9c08b1fc35bb45b99907162c3a66bf04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / matimo_gmail-0.2.0-py3-none-any.whl
| Download URL | matimo_gmail-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da4c2b8c329046931409553dd457658ea3dae671b4509f352638761b899148ed
|
|
BLAKE2b-256 checksum How to use checksums |
1e1101bb6aa8cd2ace0dea8b27d51ea704a851d73d6994905f26863fe5eaaec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for matimo-gmail 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.