await box.forward(["ops@example.net", "archive@example.net"]);
await box.forward([]); // stop forwardingbox.forward(["ops@example.net", "archive@example.net"])
box.forward([]) # stop forwardingWhy five
An unbounded list is an open relay in a different shape: one address receiving mail, ten copies going out of it, under the account's reputation. Five is a limit with a reason rather than a round number.
It is a copy, not a move
The message still lands in the mailbox and still counts against the account's storage. To have mail go somewhere else and not be kept, point the address there instead.
The list is replaced
await box.forward([...box.forwardTo, "extra@example.net"]); // add onebox.forward([*(box.forward_to or []), "extra@example.net"]) # add oneThere is no add or remove. Read forwardTo, change it, send it back.
Mind the loop
Forwarding to an address that forwards back is a message going round. Nothing here untangles it for you.
A forwarded message can look misaligned
Forwarding rewrites the path, and a strict alignment policy on the sender's domain can make the copy be refused at the far end. That is how mail works, not something this call can fix — it is also why a policy is hardened in steps.