Fondation

This commit is contained in:
alma 2026-01-16 23:33:50 +01:00
parent 2cfcc60b65
commit 915162f901

View File

@ -42,6 +42,9 @@ export async function GET(request: Request) {
if (!source) {
return NextResponse.json({ error: 'Email source not available' }, { status: 404 });
}
if (!envelope) {
return NextResponse.json({ error: 'Email envelope not available' }, { status: 404 });
}
const rawSource = source.toString();
// Parse the email with multiple options to debug