Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update examples/integrations/agentmail/email_tools.py

Magnus Müllerd5b7c1479e91
diff --git a/examples/integrations/agentmail/email_tools.py b/examples/integrations/agentmail/email_tools.py
index 8fbbb83bc..d5bbba445 100644
--- a/examples/integrations/agentmail/email_tools.py
+++ b/examples/integrations/agentmail/email_tools.py
@@ -178,6 +178,6 @@ class EmailController(Tools):
try:
latest_message = await self.wait_for_message(inbox_id=inbox.inbox_id)
except TimeoutError:
- return 'No email received in the inbox in 30s'
+ return f'No email received in the inbox in {self.email_timeout}s'
# logger.info(f'Latest message: {latest_message}')
return self._serialize_message_for_llm(latest_message)