string
curl -X POST "https://api.wirebox.sh/api/v1/mailboxes/eva@wireboxmail.com/messages/msg_01J8ABC123XYZ/forward" \
-H "Authorization: Bearer $WIREBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": ["accounting@example.com"],
"body_text": "FYI, forwarding the vendor contract for your review.",
"forward_attachments": true
}'
from wirebox import Wirebox
with Wirebox() as wb:
eva = wb.get_identity("eva")
result = eva.forward_email(
"msg_01J8ABC123XYZ",
to=["accounting@example.com"],
body_text="FYI, forwarding the vendor contract for your review.",
forward_attachments=True,
)
print("Forwarded message ID:", result.id)
print("New thread ID:", result.thread_id)
import { Wirebox } from "@wirebox-sh/sdk";
const wb = new Wirebox();
const eva = await wb.getIdentity("eva");
const result = await eva.forwardEmail("msg_01J8ABC123XYZ", {
to: ["accounting@example.com"],
body_text: "FYI, forwarding the vendor contract for your review.",
forward_attachments: true,
});
console.log("Forwarded message ID:", result.id);
console.log("New thread ID:", result.thread_id);
wirebox mail forward msg_01J8ABC123XYZ \
--to accounting@example.com \
--comment "FYI, forwarding the vendor contract for your review."
{
"id": "msg_01J8DEF888FWD001",
"thread_id": "thd_01J8DEF777NEW002",
"status": "sent"
}
Mail
Forward Message
Forward an existing email message to new recipients, generating an independent thread and preserving original R2 attachments.
POST
/
api
/
v1
/
mailboxes
/
{email_address}
/
messages
/
{message_id}
/
forward
curl -X POST "https://api.wirebox.sh/api/v1/mailboxes/eva@wireboxmail.com/messages/msg_01J8ABC123XYZ/forward" \
-H "Authorization: Bearer $WIREBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": ["accounting@example.com"],
"body_text": "FYI, forwarding the vendor contract for your review.",
"forward_attachments": true
}'
from wirebox import Wirebox
with Wirebox() as wb:
eva = wb.get_identity("eva")
result = eva.forward_email(
"msg_01J8ABC123XYZ",
to=["accounting@example.com"],
body_text="FYI, forwarding the vendor contract for your review.",
forward_attachments=True,
)
print("Forwarded message ID:", result.id)
print("New thread ID:", result.thread_id)
import { Wirebox } from "@wirebox-sh/sdk";
const wb = new Wirebox();
const eva = await wb.getIdentity("eva");
const result = await eva.forwardEmail("msg_01J8ABC123XYZ", {
to: ["accounting@example.com"],
body_text: "FYI, forwarding the vendor contract for your review.",
forward_attachments: true,
});
console.log("Forwarded message ID:", result.id);
console.log("New thread ID:", result.thread_id);
wirebox mail forward msg_01J8ABC123XYZ \
--to accounting@example.com \
--comment "FYI, forwarding the vendor contract for your review."
{
"id": "msg_01J8DEF888FWD001",
"thread_id": "thd_01J8DEF777NEW002",
"status": "sent"
}
Path Parameters
string
required
Email address of the forwarding mailbox. Accepts full email (
eva@wireboxmail.com) or local handle (eva).string
required
Unique ID of the message being forwarded (
msg_ prefix).Headers
string
Optional client-generated token (UUID v4 or random ASCII string) preventing duplicate forward dispatches on network retry.
Body
string | string[]
required
Recipient email address or list of addresses to forward to.
string
Optional subject line override. Defaults automatically to
Fwd: <original_subject>.Optional plain text commentary note prepended above the forwarded message quote. (Also accepts
text).string
Optional rich HTML commentary note prepended above the forwarded message quote. (Also accepts
html).string | string[]
Optional carbon copy recipient(s).
string | string[]
Optional blind carbon copy recipient(s).
boolean
default:"true"
Whether to include original email attachments stored in Cloudflare R2. Defaults to
true. Set to false to forward only the message text without original attachments.object[]
Optional additional attachments to append to the forward message.
curl -X POST "https://api.wirebox.sh/api/v1/mailboxes/eva@wireboxmail.com/messages/msg_01J8ABC123XYZ/forward" \
-H "Authorization: Bearer $WIREBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": ["accounting@example.com"],
"body_text": "FYI, forwarding the vendor contract for your review.",
"forward_attachments": true
}'
from wirebox import Wirebox
with Wirebox() as wb:
eva = wb.get_identity("eva")
result = eva.forward_email(
"msg_01J8ABC123XYZ",
to=["accounting@example.com"],
body_text="FYI, forwarding the vendor contract for your review.",
forward_attachments=True,
)
print("Forwarded message ID:", result.id)
print("New thread ID:", result.thread_id)
import { Wirebox } from "@wirebox-sh/sdk";
const wb = new Wirebox();
const eva = await wb.getIdentity("eva");
const result = await eva.forwardEmail("msg_01J8ABC123XYZ", {
to: ["accounting@example.com"],
body_text: "FYI, forwarding the vendor contract for your review.",
forward_attachments: true,
});
console.log("Forwarded message ID:", result.id);
console.log("New thread ID:", result.thread_id);
wirebox mail forward msg_01J8ABC123XYZ \
--to accounting@example.com \
--comment "FYI, forwarding the vendor contract for your review."
{
"id": "msg_01J8DEF888FWD001",
"thread_id": "thd_01J8DEF777NEW002",
"status": "sent"
}