Finished join confirmation email
Added unit testing
Fixed email sending (join confirmation & invitation)