admin管理员组

文章数量:1287856

I’m building a chat messenger in Next.js with Supabase as my backend. I want users to reply to chat messages directly via email, and have those replies saved in my database as new messages.

Flow Overview: A user receives an email notification with a chat message. The user replies to the email. The reply is processed and saved as a message in Supabase. The original sender is notified about the new reply. Challenges: How do I receive and process incoming emails? How do I verify the email is from the correct user? How do I store the reply in Supabase and notify the recipient? Has anyone implemented this before? Any help would be appreciated!

I record the email in the database and send it with resend, but how I can display the reply by the user that received the email?

本文标签: streamChat messenger reply by email nextjsStack Overflow