Skip to content

feat(integrations): add html and text params to sendEmail - #3

Draft
egidijusj wants to merge 1 commit into
base44:mainfrom
egidijusj:feat/sendemail-html-text-fields
Draft

feat(integrations): add html and text params to sendEmail#3
egidijusj wants to merge 1 commit into
base44:mainfrom
egidijusj:feat/sendemail-html-text-fields

Conversation

@egidijusj

Copy link
Copy Markdown

Summary

  • Adds html (alias of body, same HTML slot) and text (plain-text part) as optional parameters to CoreIntegrations.sendEmail
  • body relaxed from required to optional (backward compatible)
  • Only non-null fields are included in the JSON payload
  • KDoc updated with truth table of valid/422 combinations

Details

Runtime change only in parameter handling — no new network paths. Mirrors the backend addition in base44-dev/apper#22289.

Version bump: 0.1.0 → 0.1.1

Test plan

  • Existing callers with body = "..." continue to compile and behave identically
  • sendEmail(to, subject, html = "<p>Hi</p>", text = "Hi") compiles and sends both fields
  • sendEmail(to, subject, text = "Hi") compiles and sends only text

🤖 Generated with Claude Code

Mirrors the backend change in base44-dev/apper#22289. body is relaxed from
required to optional; html (alias of body) and text (plain-text part) are
added as optional parameters. Only non-null fields are included in the JSON
payload. KDoc updated with truth table of valid/422 combinations.

Version bump 0.1.0 → 0.1.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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