Vinberg's monoid and automorphic L-functions