Mail Settings

Select "Settings..." from the Mail menu.

On the left side of the window, select your "IMAP" account for Text.

At the top of the right tab, select "Server Settings".

The window should look like this (but with your username and password of course!):