Skip to content

feat(platform): restore imap-smtp split SMTP auth and live transport - #2892

Merged
Israeltheminer merged 5 commits into
mainfrom
feat/imap-smtp-live-mail
Aug 3, 2026
Merged

Israeltheminer merged 5 commits into
mainfrom
feat/imap-smtp-live-mail

Conversation

@Israeltheminer

Copy link
Copy Markdown
Contributor

Summary

  • Restore 0.3-style separate SMTP login on imap-smtp credentials (optional smtpUsername/smtpPassword), wired through auth injection, native mail transport, and the credential form toggle.
  • List imapflow and nodemailer under Convex node.externalPackages and resolve their constructors across CJS/ESM shapes (t is not a constructor on bundled imapflow).
  • Credentials table polish: size the row-actions menu to its labels; remove the masked Details column (and the unused facts/factNote adapter hooks).

Stack

Depends on #2878 (configFields collection). Base branch is fix/credential-config-fields.

Test plan

  • bun run --filter @tale/platform test -- lib/connectors/natives/imap-smtp.test.ts convex/connector_credentials/auth_injection.test.ts
  • Add IMAP credential with hosts (needs fix(platform): collect a connector's declared config fields #2878) + optional separate SMTP login; save and re-open edit
  • Live automation using imap-smtp.list_messages connects without t is not a constructor
  • Credentials table: no Details column; row ⋮ menu shows full labels without clipping Delete

The add dialog never rendered a connector's configFields, so required
hosts (e.g. imap-smtp) could not be supplied and createCredential refused
with "needs <label>". Return configFields from the catalog, collect them
in a typed extra module, gate submit on completeness, and round-trip
config on edit so a save cannot wipe hosts.
That toggle ships in the stacked imap-smtp PR; asserting it here fails UI
because the form does not render the switch yet.
Optional SMTP username/password for relay sends, externalize imapflow and
nodemailer so Convex Node can construct them, and tighten the credentials
table (wider row menu, drop the masked Details column).
Moved from the config-fields PR so it lands with the toggle it asserts.
@Israeltheminer
Israeltheminer force-pushed the feat/imap-smtp-live-mail branch from 83076c1 to 9171e8e Compare August 3, 2026 09:19
Masked preview and allowlist note lived in that column; the table no
longer shows them.
Base automatically changed from fix/credential-config-fields to main August 3, 2026 09:33
@Israeltheminer
Israeltheminer merged commit de718c1 into main Aug 3, 2026
2 checks passed
@Israeltheminer
Israeltheminer deleted the feat/imap-smtp-live-mail branch August 3, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant