Our quote is attached. Delivery takes three weeks from the order.
Give every CrewAI agent its own email address.
Each role of the crew writes from its own address, so vendors, customers and teammates answer the right agent.
from crewai.tools import tool
import blueping_tools as bp
@tool("Send an email")
def send_email(inbox_id: str, to: str, subject: str, text: str) -> dict:
"""Send an email from the buyer's own inbox."""
return bp.send_email(inbox_id, to, subject, text)Get an address Agents /integrations/crewai.md
Blueping makes email inboxes for AI agents: one API call gives an agent its own address, with verification codes pulled out and every sender checked.
selbywick-buyer
The buyer of a CrewAI crew
Thank you. Could you confirm the price holds until December 15?
Selbywick Buyer · selbywick-buyer
Equip a CrewAI crew in two files
CrewAI's @tool decorator turns each Blueping call into a tool you give to the agents that need it. Each role can have its own address, so a crew emails vendors, customers and its own members in threads they all read.
What the crew's tools wrap
blueping_tools.pyholds plain functions over the API, which readBLUEPING_API_KEYfrom the environment. The crew file below wraps two of them for the buyer.# blueping_tools.py: an inbox for your agent, in five functions. Python 3.9+, no dependency. import json, os, urllib.error, urllib.parse, urllib.request API = "https://blueping.dev/v1" def call(method, path, body=None): request = urllib.request.Request( API + path, method=method, data=json.dumps(body).encode() if body is not None else None, headers={"Authorization": "Bearer " + os.environ["BLUEPING_API_KEY"], "Content-Type": "application/json", "User-Agent": "my-agent/1.0"}) try: with urllib.request.urlopen(request, timeout=90) as response: return json.load(response) except urllib.error.HTTPError as error: return json.load(error) # {"error": {"code", "message", "next_action"}} def create_inbox(username: str) -> dict: """Create an email inbox, username@blueping.dev, that receives at once.""" return call("POST", "/inboxes", {"username": username, "client_id": username}) def wait_for_code(inbox_id: str, sender: str = "") -> dict: """Wait up to 50 seconds for the next verification code or sign-in link.""" query = urllib.parse.urlencode({"wait": 50, **({"from": sender} if sender else {})}) return call("GET", f"/inboxes/{inbox_id}/code?{query}") def read_inbox(inbox_id: str) -> dict: """The newest mail of an inbox, as JSON, with held mail counted.""" return call("GET", f"/inboxes/{inbox_id}/messages?limit=10") def send_email(inbox_id: str, to: str, subject: str, text: str) -> dict: """Send an email from the inbox.""" return call("POST", f"/inboxes/{inbox_id}/messages", {"to": to, "subject": subject, "text": text}) def reply(message_id: str, text: str) -> dict: """Answer an email in its own thread.""" return call("POST", f"/messages/{message_id}/reply", {"text": text})The crew
The decorator's name is what the agent sees; the docstring tells it when to use the tool.
from crewai import Agent, Crew, Task from crewai.tools import tool import blueping_tools as bp @tool("Send an email") def send_email(inbox_id: str, to: str, subject: str, text: str) -> dict: """Send an email from the buyer's own inbox.""" return bp.send_email(inbox_id, to, subject, text) @tool("Read the inbox") def read_inbox(inbox_id: str) -> dict: """The newest email in the buyer's inbox, as JSON.""" return bp.read_inbox(inbox_id) buyer = Agent(role="Buyer", goal="Get three quotes for 40 office chairs", backstory="You email vendors from your own inbox.", tools=[send_email, read_inbox]) task = Task(description="Ask vendors@lumen.example for a quote, using inbox inb_...", expected_output="The email sent, and any answer so far.", agent=buyer) print(Crew(agents=[buyer], tasks=[task]).kickoff())
Checked against CrewAI docs, tools on November 22, 2026.
What a CrewAI crew does with its own inbox
A crew with one address per role
The researcher subscribes to the sources, the buyer writes to vendors and the writer sends the report: three inboxes, one per agent, each made with
create_inbox.Members that email each other
Mail between two Blueping inboxes arrives with its sender verified, so the crew can hand work over by email and keep the thread as its record.
Before you connect CrewAI
- Each tool returns the API's JSON, so an agent sees
heldmail counted and a refusal'snext_action.
Should every CrewAI agent have its own inbox?
When it talks to people outside the crew, yes: replies come back to the agent that wrote, and each thread stays with its role.
Build more with CrewAI
- Quotes and purchase ordersThe agent sends a request for quote to approved suppliers, compares the quotes, and drafts the purchase order for a person to send.
- Multi-agent systemsEach agent gets its own address, tasks travel as emails in threads, and mail between Blueping inboxes arrives at once.
- RecruitingApplications reach the agent's address; it reads each résumé, asks the role's questions and moves candidates through the stages.
- MastracreateTool definitions given to a Mastra Agent.
- LlamaIndexPlain functions given to a FunctionAgent.
- Pydantic AIThe hosted MCP server as a toolset, with your key in the headers.
Give every CrewAI agent its address.
Free for 3 inboxes. No card.