Microsoft Outlook Email Reader
pip install llama-index-readers-microsoft-outlook-emails
The loader retrieves emails from an Outlook mailbox and indexes the subject and body of the emails.
Prerequisites
App Authentication using Microsoft Entra ID (formerly Azure AD)
- You need to create an App Registration in Microsoft Entra ID. Refer here
- API Permissions for the created app:
- Microsoft Graph --> Application Permissions --> Mail.Read (Grant Admin Consent)
More info on Microsoft Graph APIs - Refer here
Usage
To use this loader, client_id, client_secret, and tenant_id of the registered app in Microsoft Azure Portal are required.
This loader fetches emails from a specified folder in an Outlook mailbox.
from llama_index.readers.outlook_emails import OutlookEmailReader
loader = OutlookEmailReader(
client_id="<Client ID of the app>",
client_secret="<Client Secret of the app>",
tenant_id="<Tenant ID of the Microsoft Azure Directory>",
user_email="<User Email Address>",
folder="Inbox",
num_mails=10,
)
documents = loader.load_data()
The loader retrieves the subject and body of the emails from the specified folder in Outlook.
Metadata
Release files for llama-index-readers-microsoft-outlook-emails 0.4.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_readers_microsoft_outlook_emails-0.4.0.tar.gz | 4.6 kB | Without provenance | Details for llama_index_readers_microsoft_outlook_emails-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_microsoft_outlook_emails-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_microsoft_outlook_emails-0.4.0-py3-none-any.whl |
Total release size: 8.9 kB
Release files / llama_index_readers_microsoft_outlook_emails-0.4.0.tar.gz
| Download URL | llama_index_readers_microsoft_outlook_emails-0.4.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60c268777dfc7e7f042eb7b7ab6fe893cc3947d4548e0bfd6dc0ea88fcb24b5a
|
|
BLAKE2b-256 checksum How to use checksums |
8ac9d0900ddf8f8c376437400b5696daa9f249f96ed0dc23339ce733995f97b8
|
| 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_readers_microsoft_outlook_emails-0.4.0-py3-none-any.whl
| Download URL | llama_index_readers_microsoft_outlook_emails-0.4.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0299554b6c279fc4c9893948729a9010ac7d19f54f48e22a7cf0ea584694f20d
|
|
BLAKE2b-256 checksum How to use checksums |
2adc8f075736a97b264ef4feda98d2bd474da74a66cf78329757b87620ba926a
|
| 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-readers-microsoft-outlook-emails 0.4.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.