@@ -78,7 +78,8 @@ def list(
7878 api_key="YOUR_API_KEY",
7979 )
8080 client.messages.list(
81- inbox_id="inbox_id",
81+ inbox_id="yourinbox@agentmail.to",
82+ limit=10,
8283 )
8384 """
8485 _response = self ._client_wrapper .httpx_client .request (
@@ -141,8 +142,8 @@ def get(
141142 api_key="YOUR_API_KEY",
142143 )
143144 client.messages.get(
144- inbox_id="inbox_id ",
145- message_id="message_id ",
145+ inbox_id="yourinbox@agentmail.to ",
146+ message_id="msg_123 ",
146147 )
147148 """
148149 _response = self ._client_wrapper .httpx_client .request (
@@ -269,8 +270,13 @@ def send(
269270 api_key="YOUR_API_KEY",
270271 )
271272 client.messages.send(
272- inbox_id="inbox_id",
273- to="to",
273+ inbox_id="yourinbox@agentmail.to",
274+ to=["bob@example.com"],
275+ cc=["charlie@example.com"],
276+ bcc=["david@example.com"],
277+ subject="Project Discussion",
278+ text="Let's review the timeline for the project.",
279+ html="<p>Let's review the timeline for the project.</p>",
274280 )
275281 """
276282 _response = self ._client_wrapper .httpx_client .request (
@@ -367,8 +373,12 @@ def reply(
367373 api_key="YOUR_API_KEY",
368374 )
369375 client.messages.reply(
370- inbox_id="inbox_id",
371- message_id="message_id",
376+ inbox_id="yourinbox@agentmail.to",
377+ message_id="msg_123",
378+ text="Thanks for the update. Let's meet tomorrow at 2 PM.",
379+ html="<p>Thanks for the update. Let's meet tomorrow at 2 PM.</p>",
380+ cc=["charlie@example.com"],
381+ bcc=["david@example.com"],
372382 )
373383 """
374384 _response = self ._client_wrapper .httpx_client .request (
@@ -470,7 +480,8 @@ async def list(
470480
471481 async def main() -> None:
472482 await client.messages.list(
473- inbox_id="inbox_id",
483+ inbox_id="yourinbox@agentmail.to",
484+ limit=10,
474485 )
475486
476487
@@ -541,8 +552,8 @@ async def get(
541552
542553 async def main() -> None:
543554 await client.messages.get(
544- inbox_id="inbox_id ",
545- message_id="message_id ",
555+ inbox_id="yourinbox@agentmail.to ",
556+ message_id="msg_123 ",
546557 )
547558
548559
@@ -677,8 +688,13 @@ async def send(
677688
678689 async def main() -> None:
679690 await client.messages.send(
680- inbox_id="inbox_id",
681- to="to",
691+ inbox_id="yourinbox@agentmail.to",
692+ to=["bob@example.com"],
693+ cc=["charlie@example.com"],
694+ bcc=["david@example.com"],
695+ subject="Project Discussion",
696+ text="Let's review the timeline for the project.",
697+ html="<p>Let's review the timeline for the project.</p>",
682698 )
683699
684700
@@ -783,8 +799,12 @@ async def reply(
783799
784800 async def main() -> None:
785801 await client.messages.reply(
786- inbox_id="inbox_id",
787- message_id="message_id",
802+ inbox_id="yourinbox@agentmail.to",
803+ message_id="msg_123",
804+ text="Thanks for the update. Let's meet tomorrow at 2 PM.",
805+ html="<p>Thanks for the update. Let's meet tomorrow at 2 PM.</p>",
806+ cc=["charlie@example.com"],
807+ bcc=["david@example.com"],
788808 )
789809
790810
0 commit comments