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:
Friday digest time. Pull up my Work labeled emails. Draft my weekly summary to team@company.com - subject "Weekly Digest - Key Updates" mentioning the budget discussion. Create blue "Week 47 Digest" label. Tag all Q2 budget related messages with it for records. Update my Urgent label to brown color. Switch to British English for next week's UK calls. Show all labels.

Available tools:
patch_label
create_draft
modify_message
create_label
get_label
get_message
update_language_settings
list_labels
list_messages

Verification checks:
[{"verifier_type": "database_state", "name": "Verify Language Updated to British English", "description": "Verifies that display language was updated to en-GB for user_002 in preparation for UK client meetings.", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt\nFROM language_settings\nWHERE user_id = 'user_002'\n  AND display_language LIKE '%en-GB%';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Weekly Digest Draft Created", "description": "Verifies that a new draft was created for user_002 (seed has 1 draft for Bob: draft_003).", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt\nFROM drafts d\nJOIN messages m ON m.id = d.message_id\nWHERE m.user_id = 'user_002';", "expected_value": 1, "comparison_type": "greater_than"}}, {"verifier_type": "database_state", "name": "Verify Week 47 Digest Label Created", "description": "Verifies that \"Week 47 Digest\" label with blue background (#3c78d8) was created for user_002.", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt\nFROM labels\nWHERE user_id = 'user_002'\n  AND LOWER(name) LIKE '%week%47%digest%'\n  AND JSON_EXTRACT(color_json, '$.backgroundColor') IN ('#4a86e8', '#c9daf8', '#a4c2f4', '#6d9eeb', '#3c78d8', '#285bac', '#1c4587', '#0d3472', '#b6cff5', '#0d3b44', '#98d7e4', '#4986e7', '#2da2bb');", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Week 47 Label Applied to Budget Messages", "description": "Verifies that the Week 47 Digest label was applied to msg_004 and msg_005 for tracking purposes.", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt\nFROM message_labels ml\nJOIN labels l ON l.id = ml.label_id\nWHERE l.user_id = 'user_002'\n  AND LOWER(l.name) LIKE '%week%47%'\n  AND ml.message_id IN ('msg_004', 'msg_005');", "expected_value": 1, "comparison_type": "greater_than"}}, {"verifier_type": "database_state", "name": "Verify Urgent Label Updated to brown", "description": "Verifies that label_012 (Urgent) was patched to update color to brown for user_002.", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt\nFROM labels\nWHERE user_id = 'user_002'\n  AND id = 'label_012'\n  AND JSON_EXTRACT(color_json, '$.backgroundColor') IN ('#7a2e0b', '#7a4706', '#594c05', '#684e07');", "expected_value": 1, "comparison_type": "equals"}}]