Repository navigation
Use the Sandbox and Domain names in help text and skill docs - #20
Conversation
Decisions: - The commands, flags and config keys already use sandbox/domain; this aligns the remaining prose and internal identifiers with them - API paths, request body roots, JSON keys and token resource types keep inbox/sending_domain because they mirror the wire - Email Inbound keeps "inbox": inbound inboxes are a separate product - SKILL.md gains a naming note so agents still map "inbox" and "sending domain" requests to sandboxes and domains Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 37 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@coderabbitai review |
Action performed
|
Decisions:
- --inbound-inbox-id help said only "Inbox ID", which the skill's new naming note maps to a sandbox; name the Email Inbound product instead
- fmt.Sprintf("%s", id) did nothing on the sandbox ID lines this change already renames
- the test plan prerequisite said "sandbox" three times in one line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@coderabbitai review |
Action performed
|
…domains Test plan rows 12.7 and 12.8 named toggle-email-username and reset-email-username, which don't exist; the commands are toggle-email and reset-email. domains get and delete now pass the ID straight to AccountPath, as the sandboxes commands in this branch already do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Motivation
Mailtrap now calls Email Sandbox testing inboxes sandboxes and sending domains domains. The CLI's commands, flags and config keys already use the new names, but its help text, agent skill docs and test plan still said "sending domain", "sandbox inbox" and "inbox ID". This brings them in line. The SDKs and the MCP server get the same rename in their own PRs.
Changes
Help text says "domain" where it said "sending domain" (
domains,company-info,suppressions create,tracking-opt-outs create,email-campaigns create/update,inbound inboxes create --domain-id) and "sandbox" where it said "sandbox inbox" (sandbox-send,mailtrap --help)API paths, request bodies and JSON output keep the old names because they mirror the API: requests still go to
/inboxesand/sending_domains, andstats by-domain -o jsonstill printssending_domain_idtokens createhelp keeps the"inbox"and"sending_domain"resource types and says which product each one meansThe agent skill gets a naming note, so a request about an "inbox" or a "sending domain" still reaches
sandboxes/--sandbox-idordomains; its references anddocs/TEST_PLAN.mduse the new names (<SANDBOX_ID>placeholders)Internal Go identifiers follow the command names; output is unchanged
How to test
You'll need
MAILTRAP_API_TOKENandMAILTRAP_ACCOUNT_IDfor an account with a sandbox and some sending stats.mailtrap --help,mailtrap domains --help,mailtrap company-info get --help,mailtrap sandbox-send --help,mailtrap suppressions create --help,mailtrap tracking-opt-outs create --help,mailtrap email-campaigns create --helpandmailtrap inbound inboxes create --helpsay "domain" or "sandbox", with no "sending domain" or "sandbox inbox" leftmailtrap tokens create --helplists"inbox" (a sandbox)and"sending_domain" (a domain)as resource typesmailtrap inbound inboxes --helpstill talks about inboxesmailtrap sandboxes listandmailtrap sandboxes get --id <id>show the same ID, NAME, EMAIL_USERNAME, STATUS, MAX_SIZE columns as beforemailtrap stats by-domain --start-date <date> --end-date <date>shows the DOMAIN ID column, and with-o jsoneach row still hassending_domain_idSummary by CodeRabbit