Mail program written in C