Email Fixed + some minor fixes
add email send and invitations + some minor fixes