open source mail send & receive libraries for java & .net