Minimal representations: spherical vectors and automorphic functionals