feat(integration): add email channel integration#337
Merged
Conversation
Add a new IntegrationEmail channel with SMTP settings (provider, host, port, username, password, fromAddress). Includes full-stack scaffolding: integration package, database schema/relations, builder feature (CRUD actions, manage UI, settings page), and worker registration. Also updates the integration-channel SKILL.md with comprehensive post-creation verification checklist and common build error reference. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
integrations/email/), database schema + relations, builder feature (CRUD actions, manage table UI, create form, settings parallel route), and worker registrationemailtochannelTypesandintegrationTypesZod enums, update allRecord<ChannelType, ...>usagesintegration-channelSKILL.md with comprehensive step-by-step creation guide, post-creation verification checklist, and common build error reference tableChanges
New files
integrations/email/— integration package (schema, handlers, integration definition)packages/database/src/schema/integration-email.ts— DB table definitionpackages/database/src/relations/integration-email.ts— Drizzle relationsapps/builder/src/features/integration-email/— builder feature (actions, queries, schemas, components, manage page)apps/builder/src/app/space/[workspaceId]/(settings)/settings/channels/@email/page.tsx— settings parallel routeModified files
packages/database/src/partials/channel.ts— addemailto enumpackages/database/src/partials/integration.ts— addemailto enumpackages/database/src/schema/index.ts— export new schemapackages/database/src/relations/index.ts— import + spread new relationspackages/database/src/types.ts— addIntegrationEmailModeltypeapps/builder/src/integration.ts— register email integrationapps/worker/src/services/integrations.ts— register email integrationapps/builder/package.json+apps/worker/package.json— add workspace dependencyapps/builder/.../channels/layout.tsx— add email parallel route slotapps/builder/.../inbox-icon.tsx— add MailIcon for email channelapps/builder/.../inbox-card-list.tsx— add email entry to cardConfigs.agents/skills/integration-channel/SKILL.md— comprehensive rewriteTest plan
pnpm turbo build— verified passingMade with Cursor