-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(api-service,dashboard,shared): multi-domain inbound email with data model consistency fixes NV-7406 #10849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ChmaraX
merged 14 commits into
next
from
nv-7406-multi-domain-inbound-email-support-with-data-model
Apr 25, 2026
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4d3ac69
fix(dashboard): persist agent provider selection across page navigati…
ChmaraX d9c0bb3
feat(dashboard,api-service): wildcard catch-all inbound address for a…
ChmaraX 8f4496a
Merge branch 'next' into nv-7405-featemail-agent-wildcard-catch-all-i…
ChmaraX d7b2512
fix(dashboard): address PR review comments on catch-all email setup
ChmaraX 8c3f7c6
fix(dashboard): use useMutation for domain route updates in useEmailS…
ChmaraX 6cfa5a0
feat(api-service,dashboard,shared): multi-domain inbound email with d…
ChmaraX 4be56b5
Merge remote-tracking branch 'origin/next' into nv-7406-multi-domain-…
ChmaraX 836cebd
fix(api-service,dashboard): address PR review feedback
ChmaraX dd990c4
fix: address remaining PR review items and dashboard build error
ChmaraX a0f42a8
fix: address PR review comments and fix CI E2E failure
ChmaraX ccd5a14
fix(dal): fix withTransaction fallback on standalone MongoDB with dri…
ChmaraX f41a2ef
fix(dashboard): avoid integration name collision after deletions
ChmaraX 3ed3f2d
Merge branch 'next' into nv-7406-multi-domain-inbound-email-support-w…
ChmaraX 8cebc7b
refactor: improve architecture and fix issues in multi-domain email s…
ChmaraX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
19 changes: 15 additions & 4 deletions
19
apps/api/src/app/agents/dtos/add-agent-integration-request.dto.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,22 @@ | ||
| import { ApiProperty } from '@nestjs/swagger'; | ||
| import { IsNotEmpty, IsString } from 'class-validator'; | ||
| import { ApiPropertyOptional } from '@nestjs/swagger'; | ||
| import { IsNotEmpty, IsString, ValidateIf } from 'class-validator'; | ||
|
|
||
| export class AddAgentIntegrationRequestDto { | ||
| @ApiProperty({ | ||
| @ApiPropertyOptional({ | ||
| description: 'The integration identifier (same as in the integration store), not the internal document _id.', | ||
| }) | ||
| @ValidateIf((o) => !o.providerId) | ||
| @IsString() | ||
| @IsNotEmpty() | ||
| integrationIdentifier: string; | ||
| integrationIdentifier?: string; | ||
|
|
||
| @ApiPropertyOptional({ | ||
| description: | ||
| 'Provider ID to auto-create a dedicated integration (e.g. novu-agent-email). ' + | ||
| 'When set, the server creates the integration if one does not already exist for this agent.', | ||
| }) | ||
| @ValidateIf((o) => !o.integrationIdentifier) | ||
| @IsString() | ||
| @IsNotEmpty() | ||
| providerId?: string; | ||
| } | ||
9 changes: 9 additions & 0 deletions
9
apps/api/src/app/agents/dtos/send-agent-test-email-request.dto.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import { ApiProperty } from '@nestjs/swagger'; | ||
| import { IsEmail, IsNotEmpty } from 'class-validator'; | ||
|
|
||
| export class SendAgentTestEmailRequestDto { | ||
| @ApiProperty({ description: 'Full inbound email address to send the test to (e.g. support@acme.com)' }) | ||
| @IsEmail() | ||
| @IsNotEmpty() | ||
| targetAddress: string; | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.