diff --git a/adapters/mail/src/message.ts b/adapters/mail/src/message.ts index 0ffe2c40..7a85b0fb 100644 --- a/adapters/mail/src/message.ts +++ b/adapters/mail/src/message.ts @@ -17,7 +17,7 @@ export class MailMessageEncoder extends MessageEnco async flush() { if (!this.buffer && this.attachments.length === 0) return const messageId = await this.bot.internal.send({ - to: this.session.channelId, + to: this.session.channelId.substring(8), html: `
${this.buffer}
`, attachments: this.attachments, inReplyTo: this.reply,