[PR #720] [MERGED] feat: add clear inbox and sent items functionality #719

Closed
opened 2026-02-26 21:32:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720
Author: @dreamhunter2333
Created: 9/5/2025
Status: Merged
Merged: 9/5/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/email


📝 Commits (1)

  • 40a6cc0 feat: add clear inbox and sent items functionality

📊 Changes

12 files changed (+1547 additions, -1326 deletions)

View changed files

📝 frontend/package.json (+2 -2)
📝 frontend/pnpm-lock.yaml (+282 -273)
📝 frontend/src/views/admin/Account.vue (+86 -2)
📝 frontend/src/views/index/AccountSettings.vue (+65 -2)
📝 pages/package.json (+1 -1)
📝 vitepress-docs/package.json (+2 -2)
📝 vitepress-docs/pnpm-lock.yaml (+343 -334)
📝 worker/package.json (+7 -7)
📝 worker/pnpm-lock.yaml (+694 -700)
📝 worker/src/admin_api/index.ts (+28 -0)
📝 worker/src/common.ts (+1 -3)
📝 worker/src/mails_api/index.ts (+36 -0)

📄 Description

#713

User description

  • Add clear inbox/sent items APIs for users and admins
  • Implement ENABLE_USER_DELETE_EMAIL permission checks
  • Fix multilingual support for success messages
  • Update Vue to 3.5.21 and Wrangler to 4.34.0
  • Add UI components for clearing email data in account settings

🤖 Generated with Claude Code


PR Type

Enhancement, Bug fix, Dependencies


Description

  • Add clear inbox and sent items functionality for users and admins.

  • Implement permission checks and multilingual support for success messages.

  • Update Vue, Wrangler, and other dependencies to latest versions.

  • Introduce UI components for clearing email data in account settings.


Changes walkthrough 📝

Relevant files
Enhancement
4 files
Account.vue
Add clear inbox and sent items UI for admin                           
+86/-2   
AccountSettings.vue
Add clear inbox and sent items UI for users                           
+65/-2   
index.ts
Add clear inbox and sent items APIs for users                       
+36/-0   
index.ts
Add clear inbox and sent items APIs for admins                     
+28/-0   
Miscellaneous
1 files
common.ts
Remove outdated TODO comment                                                         
+1/-3     
Dependencies
5 files
pnpm-lock.yaml
Update dependencies in pnpm-lock.yaml                                       
+343/-334
package.json
Update Vue and Wrangler versions                                                 
+2/-2     
package.json
Update Wrangler and AWS SDK versions                                         
+7/-7     
package.json
Update Wrangler version                                                                   
+1/-1     
package.json
Update Wrangler and Node types versions                                   
+2/-2     
Additional files
2 files
pnpm-lock.yaml +282/-273
pnpm-lock.yaml +694/-700

Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 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/dreamhunter2333/cloudflare_temp_email/pull/720 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 9/5/2025 **Status:** ✅ Merged **Merged:** 9/5/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/email` --- ### 📝 Commits (1) - [`40a6cc0`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/40a6cc024e7560d203cbddb87a26eef1c9968039) feat: add clear inbox and sent items functionality ### 📊 Changes **12 files changed** (+1547 additions, -1326 deletions) <details> <summary>View changed files</summary> 📝 `frontend/package.json` (+2 -2) 📝 `frontend/pnpm-lock.yaml` (+282 -273) 📝 `frontend/src/views/admin/Account.vue` (+86 -2) 📝 `frontend/src/views/index/AccountSettings.vue` (+65 -2) 📝 `pages/package.json` (+1 -1) 📝 `vitepress-docs/package.json` (+2 -2) 📝 `vitepress-docs/pnpm-lock.yaml` (+343 -334) 📝 `worker/package.json` (+7 -7) 📝 `worker/pnpm-lock.yaml` (+694 -700) 📝 `worker/src/admin_api/index.ts` (+28 -0) 📝 `worker/src/common.ts` (+1 -3) 📝 `worker/src/mails_api/index.ts` (+36 -0) </details> ### 📄 Description #713 ### **User description** - Add clear inbox/sent items APIs for users and admins - Implement ENABLE_USER_DELETE_EMAIL permission checks - Fix multilingual support for success messages - Update Vue to 3.5.21 and Wrangler to 4.34.0 - Add UI components for clearing email data in account settings 🤖 Generated with [Claude Code](https://claude.ai/code) ___ ### **PR Type** Enhancement, Bug fix, Dependencies ___ ### **Description** - Add clear inbox and sent items functionality for users and admins. - Implement permission checks and multilingual support for success messages. - Update Vue, Wrangler, and other dependencies to latest versions. - Introduce UI components for clearing email data in account settings. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>4 files</summary><table> <tr> <td><strong>Account.vue</strong><dd><code>Add clear inbox and sent items UI for admin</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-1ac8a75932c8a510449efbe046700149bce141b9a325b770922eeaa3486a3d66">+86/-2</a>&nbsp; &nbsp; </td> </tr> <tr> <td><strong>AccountSettings.vue</strong><dd><code>Add clear inbox and sent items UI for users</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-9c838345453bcb12f1b3da5c21d1c2944ff505b6064f3650396c45f4e71e9383">+65/-2</a>&nbsp; &nbsp; </td> </tr> <tr> <td><strong>index.ts</strong><dd><code>Add clear inbox and sent items APIs for users</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-83710df6a60b2b512e134f32ad9890ab9a255040f6019f0d5603f72f4561cea4">+36/-0</a>&nbsp; &nbsp; </td> </tr> <tr> <td><strong>index.ts</strong><dd><code>Add clear inbox and sent items APIs for admins</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-b470c4c47ce4a700cd8aac644d07d8a747d439bb6d69e9392a198b3a931fe2e7">+28/-0</a>&nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Miscellaneous</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>common.ts</strong><dd><code>Remove outdated TODO comment</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-fcc08fd5aa3c190d0d45c7e3dd208e5ee831d360b272fdd5869607cf472c5eb1">+1/-3</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Dependencies</strong></td><td><details><summary>5 files</summary><table> <tr> <td><strong>pnpm-lock.yaml</strong><dd><code>Update dependencies in pnpm-lock.yaml</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-655c1410f6eacceaa9003212a9f840a660ace35e32e60d792be3640ec774af6f">+343/-334</a></td> </tr> <tr> <td><strong>package.json</strong><dd><code>Update Vue and Wrangler versions</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655">+2/-2</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Update Wrangler and AWS SDK versions</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-89dc6f41a53ce13f2da5a00dd34868762e6cd0df46eddc9f5c3c4510b1493870">+7/-7</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Update Wrangler version</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-74314f72f6616d400be4cb0d161867d8148f23c22d4c12c7188aedb129c00c59">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Update Wrangler and Node types versions</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-3adbfbfaa65ecc60f48c8d009a52c697d4c80d61ee887799df22407fcb73f380">+2/-2</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Additional files</strong></td><td><details><summary>2 files</summary><table> <tr> <td><strong>pnpm-lock.yaml</strong></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-41b1ff3a74ba81fa74c8dd225d66d81573be3f2990e1d98b9b09798b147d40a8">+282/-273</a></td> </tr> <tr> <td><strong>pnpm-lock.yaml</strong></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/720/files#diff-b40cf923090a5fb5f6cc0d6ce716c560645419d762871abb50383fdb423288c6">+694/-700</a></td> </tr> </table></details></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:39 +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/cloudflare_temp_email#719
    No description provided.