How to use Alpine to use iCloud/GMail email from the command line

Some times you are in an ssh session, administering a machine, it’s a slow link, or it’s just not practical to have a shiny graphical email program up and running. None the less, you need your email. How do you do this? Simple! Just use the Alpine email client. In the below video tutorial you can use this step-by-step instruction to set up Alpine for Apple’s iCloud (aka MobileMe) email service or Google’s Gmail service.