LlamaIndex Tools Integration: iGPT Email Intelligence
This tool connects to iGPT to give your agent structured, reasoning-ready context from connected email threads.
iGPT handles thread reconstruction, participant role detection, temporal reasoning, and intent extraction before returning results — so agents receive clean, structured JSON instead of raw message data.
To begin, you need to obtain an API key at docs.igpt.ai.
Usage
# %pip install llama-index llama-index-core llama-index-tools-igpt-email
from llama_index.tools.igpt_email import IGPTEmailToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
tool_spec = IGPTEmailToolSpec(api_key="your-key", user="user-id")
agent = FunctionAgent(
tools=tool_spec.to_tool_list(),
llm=OpenAI(model="gpt-4.1"),
)
print(await agent.run("What tasks were assigned to me this week?"))
ask: Ask a question about email context using iGPT's reasoning engine. Returns structured context including tasks, decisions, owners, sentiment, deadlines, and citations.
search: Search email context for relevant messages and threads. Returns matching email context as Documents with thread metadata (subject, participants, date, thread ID).
This tool is designed to be used as a way to load data as a Tool in an Agent.
Metadata
Release files for llama-index-tools-igpt-email 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 |
|---|---|---|---|---|
| llama_index_tools_igpt_email-0.2.0.tar.gz | 3.5 kB | Without provenance | Details for llama_index_tools_igpt_email-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_tools_igpt_email-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_tools_igpt_email-0.2.0-py3-none-any.whl |
Total release size: 7.4 kB
Release files / llama_index_tools_igpt_email-0.2.0.tar.gz
| Download URL | llama_index_tools_igpt_email-0.2.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e105ce2be9a65eb69f1ed3a521461fb9edcebcb65a0f7b9bc826a8c09616c748
|
|
BLAKE2b-256 checksum How to use checksums |
74c27cfafc939fb85ec145c94dcfeba17d851f661c7549c9263ffe2b1a2a150c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_tools_igpt_email-0.2.0-py3-none-any.whl
| Download URL | llama_index_tools_igpt_email-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a683c228306981c09d11ca29c79aed3fbcf19878348c3d4502a467299febf917
|
|
BLAKE2b-256 checksum How to use checksums |
64920c42de2db99f009e0bc96bc50796be341670986ee0e8662f8bf9ecc4dba6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-tools-igpt-email 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.