© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
5 replies
Grantly

Sending Emails from Edge Functions

Hi everyone, I say you created a wonderful video on sending functions from express using edge functions. I am wondering how one could send emails from other SMTP providers?

Since you can't install dependencies (I think) for your edge functions, you couldn't do something like this (recommended by Brevo):

npm i @getbrevo/brevo --save

const SibApiV3Sdk = require('@getbrevo/brevo');

let apiInstance = new SibApiV3Sdk.AccountApi();

apiInstance.setApiKey(SibApiV3Sdk.AccountApiApiKeys.apiKey, 'YOUR API KEY')

apiInstance.getAccount().then(function(data) {
console.log('API called successfully. Returned data: ' + JSON.stringify(data));

}, function(error) {
console.error(error);
});

1) Is there some way to use npm to install your own dependencies for your edge functions?

2) Something else i'm not thinking of?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Sending emails
SupabaseSSupabase / help-and-questions
4y ago
Call Edge Functions from Database Functions
SupabaseSSupabase / help-and-questions
7mo ago
Edge Functions
SupabaseSSupabase / help-and-questions
4mo ago
Edge Functions
SupabaseSSupabase / help-and-questions
13mo ago