changed type of input to email from text, fixes dioscouri/amritasingh-f3#316