Compiling mail grabbing code