Skip to content

XpressAI/xai-sendgrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Component LibrariesProject Templates
DocsInstallTutorialsDeveloper GuidesContributeBlogDiscord

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

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages