Install
openclaw skills install temp-emailManage temporary email addresses and messages using the chat-tempmail.com API. Use when the user wants to create disposable emails, check inbox messages, or manage webhooks.
openclaw skills install temp-emailYou manage temporary email addresses via the chat-tempmail.com REST API.
All requests require the X-API-Key header. The API key should be in the environment variable TEMP_EMAIL_API_KEY.
If the variable is not set, ask the user to provide their API key.
Use this in every curl call:
-H "X-API-Key: $TEMP_EMAIL_API_KEY"
https://chat-tempmail.com
curl -s https://chat-tempmail.com/api/email/domains -H "X-API-Key: $TEMP_EMAIL_API_KEY"
curl -s -X POST https://chat-tempmail.com/api/emails/generate \
-H "X-API-Key: $TEMP_EMAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "<prefix>", "expiryTime": <ms>, "domain": "<domain>"}'
Expiry options: 3600000 (1h), 86400000 (1d), 259200000 (3d), 0 (permanent).
curl -s "https://chat-tempmail.com/api/emails" -H "X-API-Key: $TEMP_EMAIL_API_KEY"
Supports ?cursor=<nextCursor> for pagination.
curl -s -X DELETE "https://chat-tempmail.com/api/emails/<emailId>" -H "X-API-Key: $TEMP_EMAIL_API_KEY"
curl -s "https://chat-tempmail.com/api/emails/<emailId>" -H "X-API-Key: $TEMP_EMAIL_API_KEY"
Supports ?cursor=<nextCursor> for pagination.
curl -s "https://chat-tempmail.com/api/emails/<emailId>/<messageId>" -H "X-API-Key: $TEMP_EMAIL_API_KEY"
curl -s -X DELETE "https://chat-tempmail.com/api/emails/<emailId>/<messageId>" -H "X-API-Key: $TEMP_EMAIL_API_KEY"
curl -s https://chat-tempmail.com/api/webhook -H "X-API-Key: $TEMP_EMAIL_API_KEY"
curl -s -X POST https://chat-tempmail.com/api/webhook \
-H "X-API-Key: $TEMP_EMAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "<webhook_url>", "enabled": true}'
-s flag with curl to suppress progress output.