You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,6 +217,22 @@ await send_email(
217
217
218
218
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.
219
219
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
+
220
236
## Development
221
237
222
238
This project is managed using [uv](https://github.com/ai-zerolab/uv).
0 commit comments