Skip to main content

Email (SMTP/IMAP) nodes for Flowire workflow automation

Project description

fw-nodes-email

Email (SMTP/IMAP) nodes for Flowire workflow automation.

Nodes

Send Email

Send emails via SMTP with support for HTML content, CC/BCC/Reply-To headers, and file attachments (base64-encoded).

  • Credential: SMTP (host, port, username, password, TLS/SSL)
  • Inputs: from address, to, subject, body, optional CC/BCC/Reply-To, optional attachments
  • Outputs: success status, message ID, recipient list

Read Emails

Fetch emails from a mailbox via IMAP with filtering and folder selection.

  • Credential: IMAP (host, port, username, password, SSL)
  • Inputs: folder, IMAP search filter (e.g. UNSEEN, FROM "user@example.com"), max results, mark as read, include attachment content
  • Outputs: list of emails (headers, plain/HTML body, attachment metadata), count, folder

Email Trigger

Stream trigger node that fires workflows in real-time when new emails arrive via IMAP IDLE.

  • Credential: IMAP
  • Inputs: folder to monitor
  • Outputs: event type, sender, recipients, subject, date, plain/HTML body, attachments, raw event
  • Stream handler: ImapIdleStreamHandler — maintains a persistent IMAP IDLE connection and yields events on new mail (re-issues IDLE every 25 minutes per RFC 2177)

Credentials

Type Default Port Encryption
SMTP 587 STARTTLS (or 465 for implicit SSL)
IMAP 993 SSL/TLS

Installation

pip install fw-nodes-email

Enable in your backend .env:

INSTALLED_NODE_PACKAGES=fw-nodes-core,fw-nodes-email

Entry Points

# Nodes (flowire.nodes)
email_send    = "fw_nodes_email.nodes.send_email:SendEmailNode"
email_read    = "fw_nodes_email.nodes.read_emails:ReadEmailsNode"
email_trigger = "fw_nodes_email.nodes.email_trigger:EmailTriggerNode"

# Stream handlers (flowire.stream_handlers)
imap_idle = "fw_nodes_email.handlers.imap_idle:ImapIdleStreamHandler"

Development

just install    # Install dependencies
just test       # Run tests
just lint       # Run linter
just format     # Format code

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fw_nodes_email-0.0.1a1.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fw_nodes_email-0.0.1a1-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file fw_nodes_email-0.0.1a1.tar.gz.

File metadata

  • Download URL: fw_nodes_email-0.0.1a1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fw_nodes_email-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 44a146a32dfddd828f72211f9b042d10e6ece4dceceb7521f5c1db7dabaf9a69
MD5 a69aff2352555895a3848f8a7bd2dbd3
BLAKE2b-256 11ff0229651fbe9dca3160f78fca93274b834fc6ba1ee39e8b3e4cd6376ae1de

See more details on using hashes here.

File details

Details for the file fw_nodes_email-0.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: fw_nodes_email-0.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fw_nodes_email-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 20ea233313366bdaf8b0fddab00e8ca292cf717ec9d46767f1075e8af3b542b1
MD5 acd18257f59d368eb936bbd72ec944f4
BLAKE2b-256 29af7301ba987e65f44a13a236a138be3565701d998f14ea4c9d9acce0e7958d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page