Review a SendGrid Sandbox Mail Payload in Codex Without Sending
Validate the shape of a test Mail Send payload and confirm that SendGrid's sandbox mode is enabled before any API call is considered.
中文Setup for Codex
Use Codex and a disposable JSON fixture. A real SendGrid sandbox request still needs the correct SendGrid credentials and authorized account access. The example stays offline.
- Open the pinned Twilio AI repository revision and copy this skill directory, with its companion files, into your Codex project's .agents/skills directory.
- Open Codex in a scratch project and select the matching Twilio SendGrid skill. Use the local test fixture before configuring credentials for any live API check.
Example task
Ask Codex to draft and inspect a sandbox Mail Send payload for sender@example.com and test@example.com. Set the subject to Preview only and require mail_settings.sandbox_mode.enable = true. Show the JSON and stop before making a network request.Expected result
The draft contains one placeholder recipient, a subject, body and the sandbox flag set to true. The review reports validation of the local shape and no delivery status.
Upstream documentation
Original SKILL.md on GitHub · MIT license · Source reviewed
Frequently asked question
Does a SendGrid sandbox payload deliver email to its recipients?
SendGrid documents sandbox mode as payload testing without delivery. The example is an offline preview of the JSON alone, before any sandbox API request.