add format validation to invitation email