Win98 isn't really meant to be a server, but it works OK as a development Web Server. If you really need a mail server, use Win2000, NT, XP or even a Linux box.
but...
There used to be a small mail server program called sohopop, but I'm not sure it even still exists. I think it ran on Windows 98.