No description
  • Python 98.5%
  • Just 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eddy Hintze 13e32dd724
All checks were successful
Tag & Publish / tag-and-publish (push) Successful in 10s
Initial fw-nodes-email nodes
2026-03-06 23:36:18 -05:00
.forgejo/workflows Initial fw-nodes-email nodes 2026-03-06 23:36:18 -05:00
fw_nodes_email Initial fw-nodes-email nodes 2026-03-06 23:36:18 -05:00
tests Initial fw-nodes-email nodes 2026-03-06 23:36:18 -05:00
.gitignore Initial fw-nodes-email nodes 2026-03-06 23:36:18 -05:00
justfile Initial fw-nodes-email nodes 2026-03-06 23:36:18 -05:00
pyproject.toml Initial fw-nodes-email nodes 2026-03-06 23:36:18 -05:00
README.md Initial fw-nodes-email nodes 2026-03-06 23:36:18 -05:00

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