Send email plugin sends email one at a time and its very slow

Hey I'm doing PoC using send emails plugin, but when I tried to send 1.6k emails it took around 1 hr 26 min to complete. Is there better solution to this ?

Operating system used: Linux

Answers

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,993 Neuron
    edited September 13

    The plugin is not optimised for mass mailing. I would try the DSS messaging channel send() method first but again this method is not be optimised for mass mailing although it might be faster. On this post I wrote how to use Gmail as an SMTP server directly from a Jupyter notebook. As you will be doing mass mailing you should probably write your own custom Python code to connect to the SMTP server once, deliver all emails and then disconnect. This will cut down the time it takes to send emails. Also you can look a parallelising the work load to process the emails quicker.

Setup Info
    Tags
      Help me…