In my domain, I have two bounded contexts, one that contains a Employee and the other BC is an email communicator, my Employee is only given a password when they have been approved, and therefore there password is published to them at this point.
This password is encrypted so i want to contact the BC that contains the Employee with the new encrypted password, but also send them out an email in the other BC with a welcome email containing their username and password.
I've thought about using Events for this, sending one event off to update the Employee entity and another to send out the email.
Is this the best approach or does any one know of something better?
Thanks in advance