Component Libraries •
Project Templates
Docs •
Install •
Tutorials •
Developer Guides •
Contribute •
Blog •
Discord
Xircuits Component Library for SendGrid! Seamlessly send and receive emails within Xircuits workflows.
The Xircuits SendGrid Component Library enables seamless integration with SendGrid’s email services, allowing users to send emails, parse incoming emails, and manage attachments.
Before you begin, make sure you have the following:
- Python 3.9+.
- Xircuits.
- SendGrid API key.
Sends an email using SendGrid’s API. Requires an API key, sender, recipient, subject, and message body.

Extracts email data received via the SendGrid Inbound Parse Webhook, including sender, recipient, subject, body, and attachments.

Deletes downloaded attachments from parsed emails to maintain a clean storage environment.

To use this component library, ensure that you have an existing Xircuits setup. You can then install the SendGrid library using the component library interface, or through the CLI using:
xircuits install sendgrid
You can also install it manually by cloning the repository:
# base Xircuits directory
git clone https://github.com/XpressAI/xai-sendgrid xai_components/xai_sendgrid
pip install -r xai_components/xai_sendgrid/requirements.txt