Skip to content

feat: Better Mail Methods #9608

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

Draft
wants to merge 68 commits into
base: master
Choose a base branch
from
Draft

Conversation

matmair
Copy link
Contributor

@matmair matmair commented Apr 30, 2025

This introduces models to track mail delivery and receiving - and mail processing.

Todo:

  • Mail receiving
  • Passing received mails to plugins
  • Passing outgoing mails to plugins
  • Admin UI to view mails
  • doc improvements
  • maybe: send test mail

Closes #7950
Closes #7951

I have validated sending against:

  • SMTP with cpanel
  • SMTP with Postfix
  • Sending / receiving with Mailgun
  • NOT - avoid them! - Sending / receiving with Sendgrid
  • Sending with Mailjet

Waiting for #9596 to add proper grouping for the new email pane

Copy link

netlify bot commented Apr 30, 2025

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 8944883
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/682e5eed7d9e5d0008835743

@matmair matmair changed the title Matmair/issue7950 feat: Better Mail Methods Apr 30, 2025
@matmair matmair marked this pull request as draft April 30, 2025 16:47
@matmair matmair self-assigned this Apr 30, 2025
@matmair matmair added enhancement This is an suggested enhancement or new feature api Relates to the API feature User Interface Related to the frontend / User Interface labels Apr 30, 2025
@matmair matmair added this to the 1.0.0 milestone Apr 30, 2025
Copy link

codecov bot commented Apr 30, 2025

Codecov Report

Attention: Patch coverage is 97.70408% with 9 lines in your changes missing coverage. Please review.

Project coverage is 86.38%. Comparing base (3d71be3) to head (8944883).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
src/backend/InvenTree/InvenTree/helpers_email.py 40.00% 6 Missing ⚠️
src/backend/InvenTree/InvenTree/middleware.py 50.00% 2 Missing ⚠️
src/backend/InvenTree/InvenTree/settings.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9608      +/-   ##
==========================================
+ Coverage   86.35%   86.38%   +0.03%     
==========================================
  Files        1229     1235       +6     
  Lines       53966    54386     +420     
  Branches     2259     2259              
==========================================
+ Hits        46601    46980     +379     
- Misses       6793     6834      +41     
  Partials      572      572              
Flag Coverage Δ
backend 88.42% <97.70%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matmair matmair closed this May 7, 2025
@matmair matmair reopened this May 7, 2025
@matmair
Copy link
Contributor Author

matmair commented May 7, 2025

@SchrodingersGat should i split out the admin center docs into a separate PR?

@SchrodingersGat
Copy link
Member

Probably makes for easier review

@matmair
Copy link
Contributor Author

matmair commented May 7, 2025

Probably makes for easier review

#9646

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relates to the API enhancement This is an suggested enhancement or new feature feature User Interface Related to the frontend / User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] Add support for incoming email for plugins [FR] Improve Email handeling
2 participants