ssh – About Cpanel Trial

I did a lot of research, but I need your help for something. I have set up a trial version of Cpanel and can not log in to corporate mail now. Direct access links to Maile also do not work. How do I redirect root corporate messages from ssh to gmail? How can I retrieve the Pop3 and Imap information of the emails installed with Cpanel again with ssh?