Pure memory, feel free to google correct.
Fetchmail already existed. ESR adopted it as part of his project to understand open source programming projects, and it was part of his online The Art of Unix Programming book.
I always force new programmers to read the 1st several chapters of The Art of Unix Programming before allowing them any code access.