llama-index tools igpt_email integration
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_tools_igpt_email-0.1.0.tar.gz.
File metadata
- Download URL: llama_index_tools_igpt_email-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9358f5e19c072cb46a6c323296a137ecd35a4a57c0c8a6d732292025a7c9f52d
|
|
| MD5 |
da35a73165c6fa88ee6151a84615141c
|
|
| BLAKE2b-256 |
8fb99e190b336f3b5bb11053c6f096034dd50b0d660da6be9ac36ec8a699eb16
|
File details
Details for the file llama_index_tools_igpt_email-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_tools_igpt_email-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
454fce366aa8eec86b96e72f2763beb39a556b1e5d063479881fc665c8fa21d5
|
|
| MD5 |
a1c9bc192b77e7f3460bc3d9deeada2d
|
|
| BLAKE2b-256 |
a4beabf37bc564e79dffe532eb66cd5ef08f982b55319429d7ec10b8206458c8
|