From the docs I see that
interface EmailMessage<Body = unknown> {
readonly from: string;
readonly to: string;
readonly headers: Headers;
readonly raw: ReadableStream;
readonly rawSize: number;
setReject(reason: String): void;
forward(rcptTo: string, headers?: Headers): Promise<void>;
}
ReadableStream is readonly. and ReadableStream has only
pipeTo(destination, options)
getReader(options)
methods.
I am a bit lost.
is the possibility to do it in an email worker?