Skip to content

Feature/email automation#13

Merged
dewitt4 merged 2 commits into
mainfrom
feature/email-automation
Apr 6, 2026
Merged

Feature/email automation#13
dewitt4 merged 2 commits into
mainfrom
feature/email-automation

Conversation

@dewitt4
Copy link
Copy Markdown
Contributor

@dewitt4 dewitt4 commented Apr 6, 2026

This pull request introduces the new email-automation plugin to the codebase, including all necessary configuration, package management, and test setup. The changes establish the plugin’s metadata, build and test scripts, TypeScript configuration, and update the monorepo’s dependency lockfile to include the new package and its dependencies.

Introduction of the email-automation plugin:

TypeScript and test configuration:

  • packages/plugins/official/email-automation/tsconfig.json, tsconfig.test.json, __tests__/tsconfig.json: Adds TypeScript configuration files for both main and test code, enabling strict typing, source maps, and proper path mapping for the plugin SDK. [1] [2] [3]

Monorepo dependency and lockfile updates:

  • pnpm-lock.yaml: Updates the lockfile to register the new plugin package, add its dependencies (including @types/jest, @types/node, jest, ts-jest, typescript), and ensure correct peer dependency resolution for Jest and ts-jest across the workspace. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

These changes collectively set up the email-automation plugin for development and testing within the monorepo, ensuring it is properly configured and integrated with the existing build and dependency management systems.

dewitt4 added 2 commits April 6, 2026 13:07
Introduce the email-automation plugin package (@agentbase/plugin-email-automation). Adds full implementation (src/index.ts), manifest, package.json, tsconfig files and comprehensive Jest tests. Plugin supports Resend/SendGrid providers, AI-generated copy, transactional sends, drip campaigns, system templates, endpoints, cron jobs and hooks (user:register, conversation:end). Includes unit tests covering DB helpers, interpolation, provider integrations, email sending, campaign management, cron advancement logic and endpoint behaviors.
Reformat code and tests in the email-automation plugin for improved readability. Changes include consistent object/array formatting, wrapped long lines, normalized mock implementations in tests, and minor multiline type/variable formatting in src/index.ts. No functional or behavioral changes intended.
@dewitt4 dewitt4 self-assigned this Apr 6, 2026
@dewitt4 dewitt4 added the enhancement New feature or request label Apr 6, 2026
@dewitt4 dewitt4 merged commit 5d97f2c into main Apr 6, 2026
4 checks passed
@dewitt4 dewitt4 deleted the feature/email-automation branch April 6, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant