For T317223, we copied large bits of the email code in core so that we could modify it as needed. Once core's EmailUser becomes stable and ready to use (T265541), we should simply use its method and add our own permission checks on top of it.
Acceptance criteria
- Copied code removed from CampaignsUserMailer where possible
- Replace ValidateTarget method in CampaignsUserMailer with EmailUser->ValidateTarget
- Replace ValidateSender method in CampaignsUserMailer with EmailUser->ValidateSender
- Confirm that CampaignEvents specific code is maintained.