How to Send Email in Flutter using Resend?


2 min read


Learn how to send your first email using the Resend Dart SDK.


To get the most out of this guide, you’ll need to:

1. Install

Get the Resend Dart SDK.

flutter pub add resend​

2. Usage

Import package:resend/resend.dart

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  Widget build(BuildContext context) {
    Resend(apiKey: "re_123456789");

    return MaterialApp(

3. Create Instance of Resend

final resend = Resend.instance;

4. Send your first email

    from: '[email protected]',
    to: '[email protected]',
    subject: 'hello world',
    text: 'it works!',

5. Send email using HTML

    from: '[email protected]',
    to: '[email protected]',
    subject: 'hello world',
    html: '<strong>it works!</strong>',


In this article, I have explained the Use of Resend SDK for Flutter. You can change the code as you need.

I hope this blog post provides you with enough information on Sending email in Flutter for your projects.

Thank you for reading this article!

If you love the article, Clap 👏

Also follow me for more exciting articles related to dart and flutter.

If you found something wrong in the article, let me know! I would love to improve.

Let’s Get Connected

Find me on:
- Twitter
- IndiePage
- Youtube
- Github
- Linkedin

Support me: BuyMeACoffee