4
7 Comments

Which Email API with Django backend to write newsletter?

How do you currently write an email newsletter? I currently use Django's good-old EmailMessage with HTML template and Gmail and loop over users that have subscribed to the newsletter. It works but doesn't give me access to all the fancy analytics plus smtp server limits.

  1. 2

    Check out anymail which allows you to use standard Django email tools to integrate with a bunch of different backends. I personally use Mailgun, but you can use Amazon SES, or any of their other supported ones!

    1. 1

      Cool thanks, I like mailgun's flexible pricing. I also want to include clickable survey in the emails - how would you do that?

      1. 2

        In addition to @pplonski 's answer you can look into email providers that offer this built-in (I know Mailchimp has it), or you could just link to an external survey tool, e.g. Google forms or Typeform. I personally don't like rolling my own surveys in Django when there's so many off-the-shelf options, but it depends what you plan to do with the data!

        1. 1

          Thanks @pplonski and @czue . I went with Google forms and answer coded in URL

      2. 2

        You create the survey answers as links to the server with answer coded in URL. When user clicks the link she is redirected to the server website.

      3. 1

        This comment was deleted 4 years ago.

  2. 1

    Hey Markus!
    You’d use a queue to manage several pools of emails at once. Did you try using celery?

    1. 1

      Thanks, I'm using celery for other asynchronous jobs. Celery just to address smtp server limits or any other reason to use it here?

Trending on Indie Hackers
Passed $7k 💵 in a month with my boring directory of job boards 34 comments Reaching $100k MRR Organically in 12 months 29 comments 87.7% of entrepreneurs struggle with at least one mental health issue 14 comments How to Secure #1 on Product Hunt: DO’s and DON'Ts / Experience from PitchBob – AI Pitch Deck Generator & Founders Co-Pilot 11 comments Competing with a substitute? 📌 Here are 4 ad examples you can use [from TOP to BOTTOM of funnel] 10 comments Are you wondering how to gain subscribers to a founder's X account from scratch? 9 comments