Skip to content

Commit 13c2efa

Browse files
Jamie Kirkpatrickclaude
andcommitted
docs: add forwarding emails usage section
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bb31606 commit 13c2efa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,22 @@ await send_email(
217217

218218
The `in_reply_to` parameter sets the `In-Reply-To` header, and `references` sets the `References` header. Both are used by email clients to thread conversations properly.
219219

220+
### Forwarding Emails
221+
222+
To forward an email to new recipients:
223+
224+
```python
225+
result = await forward_email(
226+
account_name="work",
227+
email_id="123",
228+
recipients=["colleague@example.com"],
229+
additional_message="FYI - please see below.",
230+
)
231+
print(f"Forwarded to: {result.forwarded_to}")
232+
```
233+
234+
The forward preserves the original email's formatting (HTML or plain text) and includes attachments by default. Use `include_attachments=False` to forward without attachments.
235+
220236
## Development
221237

222238
This project is managed using [uv](https://github.com/ai-zerolab/uv).

0 commit comments

Comments
 (0)