Update lib/types/email.js

Respect required option