How to manage e-mail addresses on a *nix box?

Hello,
People, how can I manage (add/remove/change pass, etc) my e-mail
addresses through my rails application?

I’m on a *nix box with cPanel for managing the web hosting package, is
there an API out there for managing e-mail addresses?

Any pointer to articles, books, blog entry, etc appreciated.

Thank you all in advance,

  • Dunnil