Database_Add emain in Pending invitation and make inviteeId nullable

@Omar-ElAzazy or @Eslamunto , please review and merge ASAP.