Fondation
This commit is contained in:
parent
2cfcc60b65
commit
915162f901
@ -42,6 +42,9 @@ export async function GET(request: Request) {
|
|||||||
if (!source) {
|
if (!source) {
|
||||||
return NextResponse.json({ error: 'Email source not available' }, { status: 404 });
|
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();
|
const rawSource = source.toString();
|
||||||
|
|
||||||
// Parse the email with multiple options to debug
|
// Parse the email with multiple options to debug
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user