The UI technology you choose has no affect on the ability to actually connect to the mail accounts in question. If you want to read emails from the server, I'd recommend
this[
^] article to help you get started. To send emails, take a look at
this[
^] project.