Add a value indicating if there is a pending invitation sent to email of the Event in Pre-User-Registration Flow (event.user.email)

Feature:: the ability to have the differentiation between “normal” signup and invitation as a variable in the events object of the pre-user-registration-event.

Description:: In a Pre-Registration Flow event a user has not been yet created. Still we know which email is being used. The suggestion is to add to this event some info indicating whether there are any pending invitations sent to that email. This information is useful for us, because we want to allow signups only by invitations. For example, we would be able to create a Custom Action where all public signups would be denied (by calling api.access.deny()).

Use-case:: In our application we would like to allow signups only by Invitations. Public signups should be prohibited. If an event in a Pre User Registration Flow had some information about a current context, then it would be easy to implement in a Custom Action. For example, a new boolean field event.is_invitation, or event.user.is_invited, or event.user.pending_invitations : [{org_id: nnnn}], or event.user.emailinfo.invitation_pending.