Automattic / Automattic/jetpack
Feature Request: Newsletter - Add `[Test]` to the subject line of test emails
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Jetpack
### What
Add `[Test]` to the subject line of test emails sent when users are previewing or testing newsletters.
### How
When a user sends a test email from the newsletter editor, prepend `[Test]` to the subject line programmatically before dispatch. For example, if the original subject is `March Travels`, the test email subject would appear as `[Test] March Travels`.
This change should apply only to test emails and not affect the subject of the actual newsletter when it's sent to subscribers.
This makes it easier for users to distinguish test emails from live newsletters in their inbox. It helps prevent confusion, reduces the risk of accidentally forwarding or acting on a test email as if it were live, and aligns with common email testing practices.
Contributor guide
Research direction
The issue names no files or tests. Start by locating the newsletter editor's test-email dispatch path in Jetpack and inspect how the subject is passed before sending. Done means test emails show a `[Test]` prefix while live subscriber emails retain the original subject; add or update coverage for both paths if the relevant tests are found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100