Maximal supergravities and the E10 model