Skip to content

About

Component Library for Sendgrid

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

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.


Xircuits Component Library for SendGrid

The Xircuits SendGrid Component Library enables seamless integration with SendGrid’s email services, allowing users to send emails, parse incoming emails, and manage attachments.

Table of Contents

Prerequisites

Before you begin, make sure you have the following:

  1. Python 3.9+.
  2. Xircuits.
  3. SendGrid API key.

Main Xircuits Components

SendGridSendEmail Component:

Sends an email using SendGrid’s API. Requires an API key, sender, recipient, subject, and message body.

Image

SendgridParseExtractEmail Component:

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

Image

SendgridParseCleanAttachments Component:

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

Image

Installation

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

About

Component Library for Sendgrid

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages