Trigger sent before user is added in user group so no email is sent I am trying to send custom welcome emails to custom user groups but Sprout email is attempting to send the notification before the user group is created which means the email isn’t sending. The log just outputs that the user doesn't belong to any user group.

Note: We are using a custom plugin to create the user and trigger a set your password email which could be the problem, is there a way to hook into sprout email so we can trigger the send from our plugin?
You can programmatically trigger a notification email using the Sprout Email service layer. Notification Emails are sent via the SproutEmail_DefaultMailerService using the sendNotification() method:

craft()-&gt;sproutEmail_defaultMailer-&gt;sendNotification($campaign, $object);



$campaign needs to be a SproutEmail_CampaignModel
$object, in your case, would be the Craft UserModel (and more generally is any object that you want to make available to your email templates