What's New
We've added a new SentEmail model that logs all outbound emails automatically. This model captures important details such as the recipient, subject, mailer class, method, body, and timestamp, making it easier for users to track email communications.
An admin interface has been created at /admin/sent_emails for viewing all sent emails. This feature allows users to manage email records more effectively, including the ability to soft delete emails when necessary.
Additionally, the admin navigation has been updated to include a new menu item for "Emails," providing easy access to this new functionality.
Improvements
The FetchReleaseDataJob has been improved by increasing the patch line limit from 20 to 50 lines, which offers better context for AI processing. This change enhances the overall user experience when dealing with complex code changes.
Furthermore, the ApplicationMailer now includes an after_action callback to log all sent emails, ensuring that email communication is consistently tracked within the system.
Breaking Changes
The previous DevEmail functionality has been completely removed and replaced with the new SentEmail model. Users who previously relied on DevEmails should transition to using the new system for managing their email logs.