[PR #1895] [MERGED] feat: add email domains #1912

Closed
opened 2026-02-26 20:31:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1895
Author: @dguyen
Created: 7/11/2025
Status: Merged
Merged: 7/24/2025
Merged by: @Mythie

Base: mainHead: feat/email-domains


📝 Commits (9)

  • 6d2c45a feat: add email domains
  • ef0ee03 feat: add more document preferences and update docs and tests
  • c665fd2 fix: build
  • 27ca50b Merge branch 'main' into feat/email-domains
  • ba65ba8 Merge branch 'main' into feat/email-domains
  • 0707be7 fix: refactor email validation
  • 4ea62fc Merge branch 'main' into feat/email-domains
  • fc9f725 fix: restrict email ID update access
  • 3740f84 fix: restrict email ID update access

📊 Changes

157 files changed (+5973 additions, -1097 deletions)

View changed files

📝 .env.example (+6 -0)
📝 apps/documentation/pages/users/_meta.json (+1 -0)
📝 apps/documentation/pages/users/branding.mdx (+1 -1)
📝 apps/documentation/pages/users/documents/_meta.json (+3 -1)
📝 apps/documentation/pages/users/documents/document-preferences.mdx (+3 -1)
apps/documentation/pages/users/documents/email-preferences.mdx (+26 -0)
apps/documentation/pages/users/email-domains.mdx (+112 -0)
apps/documentation/public/email-domains/create-domain-dialog.webp (+0 -0)
apps/documentation/public/email-domains/email-domain-sync.webp (+0 -0)
apps/documentation/public/email-domains/email-domains-manage-create-email.webp (+0 -0)
apps/documentation/public/email-domains/email-domains-manage.webp (+0 -0)
apps/documentation/public/email-domains/email-domains-record.webp (+0 -0)
apps/documentation/public/email-domains/email-domains-settings-page.webp (+0 -0)
📝 apps/documentation/public/organisations/organisation-branding.webp (+0 -0)
📝 apps/documentation/public/organisations/organisation-document-preferences.webp (+0 -0)
apps/documentation/public/organisations/organisation-email-preferences.webp (+0 -0)
📝 apps/remix/app/components/dialogs/organisation-create-dialog.tsx (+1 -1)
apps/remix/app/components/dialogs/organisation-email-create-dialog.tsx (+243 -0)
apps/remix/app/components/dialogs/organisation-email-delete-dialog.tsx (+111 -0)
apps/remix/app/components/dialogs/organisation-email-domain-create-dialog.tsx (+199 -0)

...and 80 more files

📄 Description

TODO UPDATE PULIMI

Need to update AWS config for SES credentials

Review notes

Still some pending items but the code should be good to review:

  • Test runthroughs
  • Add test to check auth handling for emails

Important files to review:

  • migration.sql (CUSTOM_MIGRATION)
  • packages/prisma/schema.prisma
  • packages/ee/server-only/lib/create-email-domain.ts
  • packages/lib/server-only/email/get-email-context.ts

Description

Implemented Email Domains which allows Platform/Enterprise customers to send emails to recipients using their custom emails.

Changes Made

  • Add Email Domains
  • Add Organisation Emails
  • Add "Reply To" emails
  • Added email settings preferences
  • Add Document DateFormat/Timezone preferences
  • Separated settings preferences into 3 pages (Document/Branding/Emails)
  • Create enterprise router for Billing and this feature

Email Preferences

image

Email Domain Page

image

Manage Email Domain Page

image

Documents Email Section

image

Template Email Section

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/1895 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 7/11/2025 **Status:** ✅ Merged **Merged:** 7/24/2025 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/email-domains` --- ### 📝 Commits (9) - [`6d2c45a`](https://github.com/documenso/documenso/commit/6d2c45a386879782b8f5b835377e34530f334cb3) feat: add email domains - [`ef0ee03`](https://github.com/documenso/documenso/commit/ef0ee030033ad43eb57f9fc41429e0fcd29252e5) feat: add more document preferences and update docs and tests - [`c665fd2`](https://github.com/documenso/documenso/commit/c665fd29797bce778a6e727862a36368b7b5854d) fix: build - [`27ca50b`](https://github.com/documenso/documenso/commit/27ca50bbd3eb5f4493184ec2c8f4b9346b5935bd) Merge branch 'main' into feat/email-domains - [`ba65ba8`](https://github.com/documenso/documenso/commit/ba65ba84a786ac5f8d190dac181324d977041acf) Merge branch 'main' into feat/email-domains - [`0707be7`](https://github.com/documenso/documenso/commit/0707be75acb7e147b7be8fb2f328791b07fbffb7) fix: refactor email validation - [`4ea62fc`](https://github.com/documenso/documenso/commit/4ea62fc22c49990320b26a77760168a2e8e4c4ec) Merge branch 'main' into feat/email-domains - [`fc9f725`](https://github.com/documenso/documenso/commit/fc9f7256aac69935f2a79de50ca3b37abd19c285) fix: restrict email ID update access - [`3740f84`](https://github.com/documenso/documenso/commit/3740f8405b006bd067041cb8e75c610d94459596) fix: restrict email ID update access ### 📊 Changes **157 files changed** (+5973 additions, -1097 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+6 -0) 📝 `apps/documentation/pages/users/_meta.json` (+1 -0) 📝 `apps/documentation/pages/users/branding.mdx` (+1 -1) 📝 `apps/documentation/pages/users/documents/_meta.json` (+3 -1) 📝 `apps/documentation/pages/users/documents/document-preferences.mdx` (+3 -1) ➕ `apps/documentation/pages/users/documents/email-preferences.mdx` (+26 -0) ➕ `apps/documentation/pages/users/email-domains.mdx` (+112 -0) ➕ `apps/documentation/public/email-domains/create-domain-dialog.webp` (+0 -0) ➕ `apps/documentation/public/email-domains/email-domain-sync.webp` (+0 -0) ➕ `apps/documentation/public/email-domains/email-domains-manage-create-email.webp` (+0 -0) ➕ `apps/documentation/public/email-domains/email-domains-manage.webp` (+0 -0) ➕ `apps/documentation/public/email-domains/email-domains-record.webp` (+0 -0) ➕ `apps/documentation/public/email-domains/email-domains-settings-page.webp` (+0 -0) 📝 `apps/documentation/public/organisations/organisation-branding.webp` (+0 -0) 📝 `apps/documentation/public/organisations/organisation-document-preferences.webp` (+0 -0) ➕ `apps/documentation/public/organisations/organisation-email-preferences.webp` (+0 -0) 📝 `apps/remix/app/components/dialogs/organisation-create-dialog.tsx` (+1 -1) ➕ `apps/remix/app/components/dialogs/organisation-email-create-dialog.tsx` (+243 -0) ➕ `apps/remix/app/components/dialogs/organisation-email-delete-dialog.tsx` (+111 -0) ➕ `apps/remix/app/components/dialogs/organisation-email-domain-create-dialog.tsx` (+199 -0) _...and 80 more files_ </details> ### 📄 Description ## TODO UPDATE PULIMI Need to update AWS config for SES credentials ## Review notes Still some pending items but the code should be good to review: - Test runthroughs - Add test to check auth handling for emails Important files to review: - migration.sql (CUSTOM_MIGRATION) - packages/prisma/schema.prisma - packages/ee/server-only/lib/create-email-domain.ts - packages/lib/server-only/email/get-email-context.ts ## Description Implemented Email Domains which allows Platform/Enterprise customers to send emails to recipients using their custom emails. ## Changes Made - Add Email Domains - Add Organisation Emails - Add "Reply To" emails - Added email settings preferences - Add Document DateFormat/Timezone preferences - Separated settings preferences into 3 pages (Document/Branding/Emails) - Create enterprise router for Billing and this feature ### Email Preferences <img width="1199" height="865" alt="image" src="https://github.com/user-attachments/assets/48eedf06-81b7-4a64-b525-a527d8099258" /> ## Email Domain Page <img width="1356" height="865" alt="image" src="https://github.com/user-attachments/assets/b9ac7806-a5bf-4492-918c-db88e0197986" /> ## Manage Email Domain Page <img width="1438" height="751" alt="image" src="https://github.com/user-attachments/assets/f567bf23-1dac-4e68-ba37-246f43c857c6" /> ## Documents Email Section <img width="539" height="1059" alt="image" src="https://github.com/user-attachments/assets/d637a5c0-e40d-4fd5-941f-b824e1fe95c9" /> ## Template Email Section <img width="539" height="707" alt="image" src="https://github.com/user-attachments/assets/c77570f9-0b94-40ef-8d43-6cd5d728a398" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:31:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1912
No description provided.