Last e-mail code

Reads users.email_token — the code the API wrote when it last sent a confirmation e-mail to this user. The column is overwritten on every resend and cleared once the e-mail is confirmed, so it always holds the most recent code and nothing older. Match by e-mail (case-insensitive), phone number (digits only are compared, so 040 123 456 and +38640123456 are the same number) or uuid; several criteria are ANDed and must resolve to exactly one user.

From a test: GET /email-code.php?format=json&email=test@izstop.si&wait=15 with X-Helper-Token.