The users function doesn't allow an email

There’s no way for us to tell without you showing us the relevant source code. Every new Q&A topic gives you a place to put that code.

See