Should I Send That Email
The Should I Send That Email API provides a comprehensive analysis of your drafted email's potential for catastrophe. Our algorithm evaluates passive-aggression levels, regret probability, and the specific type of recipient to produce a recommendation that is almost always 'no'. The cooling_off_period field tells you how long to wait before re-evaluating, which is our polite way of saying 'sleep on it'.
Try It — No Seriously
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
content |
string |
Required | — | The email content you're considering sending. We won't judge. Actually, we will. |
recipient_type |
string |
Optional | "colleague" |
Who you're emailing: boss, ex, investor, mom, or colleague. Each has different regret coefficients. |
time_since_writing |
number |
Optional | 0 |
Minutes since you wrote this email. Higher numbers slightly reduce the 'don't send' probability. |
drunk |
boolean |
Optional | false |
Are you drunk? If true, the answer is always 'absolutely not'. No exceptions. |
Examples
curl "https://api.stupidapis.com/send-that-email/analyze?content=Per+my+last+email&recipient_type=boss"
import requests
response = requests.get(
"https://api.stupidapis.com/send-that-email/analyze",
params={
"content": "Per my last email",
"recipient_type": "boss"
}
)
print(response.json())
const response = await fetch( "https://api.stupidapis.com/send-that-email/analyze?content=Per+my+last+email&recipient_type=boss" ); const data = await response.json(); console.log(data);
Response Schema
| Field | Type | Description |
|---|---|---|
recommendation |
string |
Our recommendation. Usually 'don't send it'. Sometimes 'absolutely not'. |
passive_aggression_score |
string |
Detected passive aggression level as a descriptive string |
regret_probability |
string |
Probability you'll regret this, as a descriptive string |
suggested_action |
string |
What you should do instead of sending this email |
cooling_off_period |
string |
How long to wait before reconsidering |
Example Response
{
"recommendation": "Do not send this email.",
"passive_aggression_score": "Nuclear — 'per my last email' detected",
"regret_probability": "97.3% — you will think about this in the shower for years",
"suggested_action": "Close your laptop. Go for a walk. Pet a dog.",
"cooling_off_period": "24 hours minimum. 48 recommended."
}