[PR #7363] Add Sends email verification support #41365

Open
opened 2026-07-18 06:22:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/7363
Author: @Timshel
Created: 6/22/2026
Status: 🔄 Open

Base: mainHead: feature/sends


📝 Commits (2)

📊 Changes

22 files changed (+494 additions, -97 deletions)

View changed files

📝 .env.template (+4 -0)
migrations/mysql/2026-06-18-120000_add_sends_emails/down.sql (+2 -0)
migrations/mysql/2026-06-18-120000_add_sends_emails/up.sql (+51 -0)
migrations/postgresql/2026-06-18-120000_add_sends_emails/down.sql (+2 -0)
migrations/postgresql/2026-06-18-120000_add_sends_emails/up.sql (+20 -0)
migrations/sqlite/2026-06-18-120000_add_sends_emails/down.sql (+0 -0)
migrations/sqlite/2026-06-18-120000_add_sends_emails/up.sql (+52 -0)
📝 playwright/tests/send.spec.ts (+83 -6)
📝 playwright/tests/setups/2fa.ts (+1 -1)
📝 src/api/core/sends.rs (+25 -16)
📝 src/api/identity.rs (+4 -0)
📝 src/api/notifications.rs (+1 -2)
📝 src/api/push.rs (+1 -3)
📝 src/auth/send.rs (+44 -3)
📝 src/config.rs (+4 -0)
📝 src/db/models/mod.rs (+1 -1)
📝 src/db/models/send.rs (+141 -61)
📝 src/db/schema.rs (+16 -4)
📝 src/mail.rs (+13 -0)
📝 src/main.rs (+7 -0)

...and 2 more files

📄 Description

Built on top of https://github.com/dani-garcia/vaultwarden/pull/7346

Remarks:

  • Did not reuse the existing protected_action template but it could make sense

Include some refactoring on the send table (split in a separate commit)

  • Remove the organization_uuid column since it's not used and I could not find mention of Sends for org.
  • Set user_uuid as NOT NULL
  • Set hide_email as NOT NULL , will default to false.

🔄 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/dani-garcia/vaultwarden/pull/7363 **Author:** [@Timshel](https://github.com/Timshel) **Created:** 6/22/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/sends` --- ### 📝 Commits (2) - [`9f7fcc0`](https://github.com/dani-garcia/vaultwarden/commit/9f7fcc0e697891208a3c75e83b7142df7cf3d1ea) Sends email verification - [`0036471`](https://github.com/dani-garcia/vaultwarden/commit/0036471e9f5bbd4b4c7a770332199cf5c2ac7015) Refactor Sends table ### 📊 Changes **22 files changed** (+494 additions, -97 deletions) <details> <summary>View changed files</summary> 📝 `.env.template` (+4 -0) ➕ `migrations/mysql/2026-06-18-120000_add_sends_emails/down.sql` (+2 -0) ➕ `migrations/mysql/2026-06-18-120000_add_sends_emails/up.sql` (+51 -0) ➕ `migrations/postgresql/2026-06-18-120000_add_sends_emails/down.sql` (+2 -0) ➕ `migrations/postgresql/2026-06-18-120000_add_sends_emails/up.sql` (+20 -0) ➕ `migrations/sqlite/2026-06-18-120000_add_sends_emails/down.sql` (+0 -0) ➕ `migrations/sqlite/2026-06-18-120000_add_sends_emails/up.sql` (+52 -0) 📝 `playwright/tests/send.spec.ts` (+83 -6) 📝 `playwright/tests/setups/2fa.ts` (+1 -1) 📝 `src/api/core/sends.rs` (+25 -16) 📝 `src/api/identity.rs` (+4 -0) 📝 `src/api/notifications.rs` (+1 -2) 📝 `src/api/push.rs` (+1 -3) 📝 `src/auth/send.rs` (+44 -3) 📝 `src/config.rs` (+4 -0) 📝 `src/db/models/mod.rs` (+1 -1) 📝 `src/db/models/send.rs` (+141 -61) 📝 `src/db/schema.rs` (+16 -4) 📝 `src/mail.rs` (+13 -0) 📝 `src/main.rs` (+7 -0) _...and 2 more files_ </details> ### 📄 Description Built on top of https://github.com/dani-garcia/vaultwarden/pull/7346 Remarks: - Did not reuse the existing `protected_action` template but it could make sense Include some refactoring on the `send` table (split in a separate commit) - Remove the `organization_uuid` column since it's not used and I could not find mention of Sends for org. - Set `user_uuid` as `NOT NULL` - Set `hide_email` as `NOT NULL` , will default to `false`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-18 06:22:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#41365