get_email_accounts
Retrieve configured email accounts from your Apollo.io account for sending sequences and campaigns.
Instructions
Retrieve email accounts associated with your Apollo.io account.
This tool returns the list of configured email accounts for sending sequences and campaigns.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/apollo_mcp_server.py:366-383 (handler)The main execution function for the 'get_email_accounts' tool. It makes a GET request to the Apollo.io /v1/email_accounts endpoint using the shared ApolloAPIClient and returns the list of email accounts or an error.@mcp.tool() async def get_email_accounts() -> Dict[str, Any]: """ Retrieve email accounts associated with your Apollo.io account. This tool returns the list of configured email accounts for sending sequences and campaigns. """ endpoint = "/v1/email_accounts" try: result = await apollo_client.make_request("GET", endpoint) return result except httpx.HTTPStatusError as e: return {"error": f"API request failed: {e.response.status_code} {e.response.text}"} except Exception as e: return {"error": f"Request failed: {str(e)}"}