Issue Retrieving Multipart Emails in Supabase Edge Function Using IMAPFlow
Hi everyone,
I’m using Supabase Cloud with a Lovable app, where users need to be able to send and receive emails. I tried creating an Edge Function that uses IMAPFlow to retrieve the content of a specific mail UID.
This works well for emails with text/plain content, but emails with multipart content don’t seem to work. The emails don’t need to be large, so I don’t think it’s a timeout issue. I also don’t see any logs— the only log I get is the shutdown log.
When I run the same code in Node locally, it works fine.
Does anyone have any ideas about what might be going wrong here or suggestions on how to debug this?
Version:
@supabase/supabase-js@2.57.4
im am using the pro plan
2 Replies