The AIM2Email package implements a simple SMTP server for both sending
and receiving email. When enabled, it will send all incoming IMs to a
prespecified email address using a prespecified remote SMTP server. It
will also receive email sent to screenname@yourip:port (by default on
port 4242) and send it as an IM to screenname.
The package can be downloaded here. Please DO NOT use the CVS version, as it is out of date, but I don't seem to have write access to the repository any longer.
It is distributed under the GNU General Public License.