Overview

Welcome to the Email integration guide for Julep! This integration allows you to send emails using SMTP, enabling you to build workflows that require email communication capabilities. Whether youโ€™re sending notifications or managing email campaigns, this guide will walk you through the setup and usage.

Prerequisites

To use the Email integration, you need SMTP server credentials, including the host, port, username, and password. Ensure you have access to an SMTP server before proceeding.

How to Use the Integration

To get started with the Email integration, follow these steps to configure and create a task:

1

Configure Your SMTP Server

Add your SMTP server credentials to the tools section of your task. This will allow Julep to authenticate requests to your email server on your behalf.

2

Create Task Definition

Use the following YAML configuration to define your email sending task:

Email Example
name: Email Task
tools:
  - name: email_tool
    type: integration
    integration:
      provider: email
      method: send
      setup:
        host: "smtp.example.com"
        port: 587
        user: "your_username"
        password: "your_password"
main:
  - tool: email_tool
    arguments:
      to: "recipient@example.com"
      from: "sender@example.com"
      subject: "Hello from Julep"
      body: "This is a test email sent using Julep's Email integration."

YAML Explanation

Remember to replace the SMTP server credentials and email addresses with your actual information. Ensure your SMTP server allows sending emails from the specified addresses.

Conclusion

With the Email integration, you can efficiently send emails using SMTP. This integration provides a robust solution for email communication, enhancing your workflowโ€™s capabilities and user experience.

For more information, please refer to the SMTP documentation.