That's not quite accurate. Most of the time was spent trying to figure out which functions I needed to use to achieve my goal. They're all there somewhere, in some package. The question is where!
People look at me funny when I say I use emacs for all aspects of accessing my email. But I just look back and say "So?". I know that the reason I do it is so that I can customize it to fit any whim of mine.
Now that I've fixed the email client, I can go back to responding to emails.