Script for university webmail

Hello,

I try to make a script for https://webmail.ugent.be/‎ but it's not working. Can someone help me to do it?

Thanks!