In hosting control panel
Email Manager > Email Accounts < there is a plus button on the same row as the email account in question (click that) > change username/password
I believe relations is disabled on free hosting. Theres a chance your code may be wrong
https://community.x10hosting.com/threads/relational-features-are-disabled.208663/