-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Description
Description:
The invoice service currently has a TODO comment indicating that email notifications need to be sent when invoices are marked as sent. This feature is essential for automating communication with clients or users about invoice status, improving user experience and ensuring timely follow-ups.
Proposed Plan:
- Integrate an email service (e.g., using Nodemailer, which is already in the tech stack).
- Modify the services/invoiceService.js to include email sending logic after marking an invoice as sent.
- Add email templates for invoice notifications.
- Ensure proper error handling and logging for email failures.
- Test the email sending functionality with mock invoices.
Result:
Users will receive automated email notifications when invoices are sent, enhancing the application's notification system and reducing manual effort.