Skip to content
Notis

Get E2B sandbox logs when an issue arrives by email

Skip the inbox-to-dashboard detour. Notis can fetch logs for an identified sandbox and summarize what needs your attention.

Trigger

New Email Received

Trigger for new emails in an AgentMail inbox

Action

Get Sandbox Logs

Tool to retrieve logs from a specific E2B sandbox instance. Use when you need to debug or monitor sandbox execution by viewing its console output and system logs.

Why this helps

Debugging starts with hunting through email for a sandbox ID, then switching tools to find the logs and understand what happened.

  • Bring relevant sandbox output into the issue follow-up.
  • Reduce manual context switching while triaging.
  • Keep the log summary with the automation run report.

Setup

Build it in a few focused steps.

  • 1Connect AgentMail and E2B once in the Notis portal.
  • 2Create an automation and give it a clear name.
  • 3In one instruction, ask Notis to identify the sandbox ID in each new issue email, retrieve its logs, and summarize errors and useful clues.
  • 4Pick AgentMail's New Email Received trigger and choose where run reports should go.
  • 5Test with one real issue email that includes a sandbox ID.

Questions about this workflow

What does the email need to include?

It should identify the E2B sandbox, such as by including its sandbox ID. If Notis cannot identify one, the run report can note that it needs more information.

Does this automation change the sandbox?

No. It retrieves logs for review and summarizes the result.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Agent mail to E2b. A trigger fires from one place; an action lands in another.

Agent mail triggers

E2b actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Connect to Sandbox

Tool to connect to an existing E2B sandbox and retrieve its details. Use when you need to reconnect to a sandbox from different environments or resume a paused sandbox. The TTL is extended upon connection.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create Template

Tool to create a new E2B template with specified configuration. Use when you need to define a new sandbox template that can be used to spawn sandbox environments.

ActionInstant

New Email Received

Trigger for new emails in an AgentMail inbox

TriggerPolling

Create Webhook

Tool to register a new webhook to receive sandbox lifecycle events for the team. Use when you need to set up notifications for sandbox lifecycle events such as creation, updates, or termination.

ActionInstant

Delete Sandbox

Tool to terminate and permanently delete a running E2B sandbox instance. Use when you need to kill a sandbox that is no longer needed. Once terminated, the sandbox cannot be resumed.

ActionInstant

Delete Webhook

Tool to unregister a webhook and stop receiving lifecycle events. Use when you need to remove a webhook that is no longer needed or to clean up webhook registrations.

ActionInstant

Check API Health

Tool to check the health status of the E2B API. Use when you need to verify that the API service is operational and accessible.

ActionInstant

Get Sandbox

Tool to retrieve detailed information about a specific sandbox by its ID. Use when you need to check sandbox status, metadata, or configuration details.

ActionInstant

Get Sandbox Logs

Tool to retrieve logs from a specific E2B sandbox instance. Use when you need to debug or monitor sandbox execution by viewing its console output and system logs.

ActionInstant

Connect any two apps with Notis in the middle.

Agent mail and E2b, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business E2b.