I\'m using a mass mail function for sending mails to about 50 users. Once I sent the api call it should update the details in DB and loop the users and get the template_cont