Role invitation and Reminders CustomerID : New user and existing user- DRAFT

1) New user invitation (Role invitation for New users): This is an email notification for User registration that adds roles to the user when the user is registered. 


Email notifications and reminder email configurations - 

# eidm2.properties 
roleinvite.registration = invite
#  mailmessages.properties
email.inviteUserRenotify.role.enabled  = true
email.inviteUser.role.enabled  = true 




2) Role Invitation (for existing users): This is an email notification for existing users when they are invited to the new role.  (Not for Pending Users)

# eidm2.properties 
roleinvite.receiver.approval = true 

# mailmessages.properties
email.roleInvite.enabled = true 
email.roleInviteRenotify.enabled = true


Role invite emails will be sent when roleinvite.receiver.approval = true  is set in eidm2.properties. 

In that case, if email.roleInvite.enabled = false, then first email for role invite will not be sent , but renotify email will be still sent if its set true email.roleInviteRenotify.enabled = true .