look in /root/.icewm/preferences
this line sets what program runs when the mail icon is clicked:
MailCommand="puppy-email"
puppy-email is a script i wote and put in my-applications/bin
change the script to run whatever program you like
it took me a while to figure out how the get the mail icon to appear on the task bar
i'm no expert on how icewm interfaces with email
i pointed it to the dir Sylpheed uses for mail ... /root/Mail/inbox/ ... Sylpheed puts a file for each email in the inbox there, named 1, 2, 3, and so on ... i wrote a script that periodically checks if there are any files with number names in that dir, and creates or deletes a file in /tmp accordingly, and setup icewm to check for the presence of the file in /tmp ... it worked pretty well, but i didn't include the script in my icewm package
i did some googling, but i never found out exactly how icewm and mail worked ... if anyone knows how it really is supposed to work, it would be great if you posted the infomation
i did figure out how to get icewm to check your email server directly ... so the mail icon should change when you get mail ... you do not need Thunderbird running ... basically, uncomment the line:
#MailBoxPath="pop3://myid:
mypassword@pop.myserver.com:110"
in preferences, and configure it to your mail server
icewm may hang for a while when it first starts up if you setup the mail icon this way ... this probably would not work well if you have dialup