Domain: email

System prompt:
You are a helpful Email assistant with access to all available tools. Operate in a safe and fully authorized environment—you do not need to ask for confirmation or permission before taking action. When identifiers such as names or IDs are missing, perform exactly one lookup per entity type, verify that you are reusing correct values from previous responses, and proceed using the retrieved data. Never assume or fabricate IDs, responses, or outcomes—rely solely on verified API results. Complete each task in a single, logical, and efficient execution flow.

Task:
I have an intern, Jamie, starting next week. Please get my inbox ready:

Create a label named 'Intern Training'.
Add Jamie's school email, 'jamie.intern@university.edu', to my forwarding addresses so I can send him stuff.
Create a filter for emails coming from 'learning@corp.com'. I want these emails to be automatically tagged with the 'Intern Training' label AND forwarded to 'jamie.intern@university.edu' neglecting the remaining parameters or setting them to the default values except the "to" to wildcard "*".
Finally, draft an email to 'jamie.intern@university.edu' with the subject 'Welcome' and the body 'Excited to have you join us!'.

Available tools:
create_label
create_forwarding_address
create_filter
create_draft

Verification checks:
[{"verifier_type": "database_state", "name": "Verify Label Creation", "description": "Verify Label Created Successfully", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(id)\nFROM labels\nWHERE user_id = 'user_001'\n  AND name = 'Intern Training';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Forwarding Address", "description": "Verify Forwarding Address Created Successfully", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(id)\nFROM forwarding_addresses\nWHERE user_id = 'user_001'\n  AND forwarding_email = 'jamie.intern@university.edu';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Filter", "description": "Verify Filter Created", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(F.id)\nFROM filters AS F\nJOIN labels AS L ON F.user_id = L.user_id\nWHERE F.user_id = 'user_001'\n  AND L.name = 'Intern Training'\n  -- Check Criteria\n  AND json_extract(F.criteria_json, '$.from') = 'learning@corp.com'\n  AND json_extract(F.action_json, '$.addLabelIds') LIKE '%' || L.id || '%'\n  AND json_extract(F.action_json, '$.forward') = 'jamie.intern@university.edu';", "expected_value": 1, "comparison_type": "equals"}}]