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'm trying to back up my emails to an external hard drive using a legacy software that only speaks POP3.

Please enable POP access for all mail (even mail that's already been downloaded).
While you are in the settings, check my IMAP configuration. Ensure IMAP is enabled.
I also need you to change the IMAP Auto-Expunge setting to OFF.
If I delete a message via IMAP, please make sure the server moves it to the Trash rather than archiving it.

Confirm when POP is active and the IMAP settings are adjusted

Available tools:
get_pop_settings
update_pop_settings
get_imap_settings
update_imap_settings

Verification checks:
[{"verifier_type": "database_state", "name": "Verify POP Disabled", "description": "Verify POP Disabled Successfully", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(id)\nFROM pop_settings\nWHERE user_id = 'user_001'\n  AND access_window = 'allMail';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify IMAP Configuration", "description": "Verify IMAP Configuration Done Successfully", "gym_name": "gym-email-mcp", "validation_config": {"query": "SELECT COUNT(id)\nFROM imap_settings\nWHERE user_id = 'user_001'\n  AND enabled = 1\n  AND auto_expunge = 0\n  AND expunge_behavior = 'trash';", "expected_value": 1, "comparison_type": "equals"}}]