I don't believe OE has an API accessible like LookOut and Thunderbird do.
It doesn't. But that doesn't mean its impossible to do, just harder.
The PGP stuff has a "plugin" for OE that allows it to sign messages after
you compose them, adn to encrypt and decrypt messages. It also adds menus
and toolbars to deal with this stuff easily.
The code to deal with that stuff is ugly, but it is on SourceForge (or some
such) and I think is GPL.
It probably wouldn't be all THAT hard to take the PGP interface code and
strip it down for some other use such as this.
Loren