function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MallikMallik 

Sending Email to the users with List of Opportunities with links

I have been looking at other posts but not able to find the solution for my requirement. I have a batch job which is creating opportunities and assignes them to a user based on the location of the Account. In the finish method, I want to send email to the user, with the list of opportunities assigned to him. 
Example if 10 opportunities are created for a user, I want to send only one email with a link to the 10 opportunities in the body of the email. The number of emails which go out depends on the distinct users for which opportunities are created.

Can we achive this. If yes what is the best solution. Can someone please help me out.