use email query only when email is available
add development dependencies
update README