ByteChef LogoByteChef
Components

Email

The Email connector sends emails using an SMTP email server.

The Email connector sends emails using an SMTP email server.

Categories: Communication, Helpers

Type: email/v1


Connections

Version: 1

Basic Auth

Properties

NameLabelTypeDescriptionRequired
usernameUsernameSTRINGtrue
passwordPasswordSTRINGtrue

Actions

Send

Name: send

Send an email to any address.

Properties

NameLabelTypeDescriptionRequired
fromFrom EmailSTRINGFrom who to send the email.true
toTo EmailARRAY
Items [STRING]
Who to send the email to.true
ccCC EmailARRAY
Items [STRING]
Who to CC on the email.null
bccBCC EmailARRAY
Items [STRING]
Who to BCC on the email.null
replyToReply ToARRAY
Items [STRING]
When someone replies to this email, where should it go to?null
subjectSubjectSTRINGYour email subject.true
contentContentSTRINGYour email content. Will be sent as a HTML email.null
attachmentsAttachmentsARRAY
Items [FILE_ENTRY]
A list of attachments to send with the email.null

Example JSON Structure

{
  "label" : "Send",
  "name" : "send",
  "parameters" : {
    "from" : "",
    "to" : [ "" ],
    "cc" : [ "" ],
    "bcc" : [ "" ],
    "replyTo" : [ "" ],
    "subject" : "",
    "content" : "",
    "attachments" : [ {
      "extension" : "",
      "mimeType" : "",
      "name" : "",
      "url" : ""
    } ]
  },
  "type" : "email/v1/send"
}

Output

This action does not produce any output.

Get Mail

Name: get

Get emails from inbox.

Properties

NameLabelTypeDescriptionRequired
fromFrom EmailSTRINGFrom who the email was sent.true
subjectSubject containsSTRINGFilters email messages where subject contains this keyword. Character matching is case insensitive.true

Example JSON Structure

{
  "label" : "Get Mail",
  "name" : "get",
  "parameters" : {
    "from" : "",
    "subject" : ""
  },
  "type" : "email/v1/get"
}

Output

This action does not produce any output.

On this page