Here's a small program to extract email IDs from an input file. It could have done using regex (in Python or in any other high level language), but doing it in C is more fun, eh? :)
The code is here!
Usage: parseEmail [FILE]
Suggestions and improvements are always welcome :) Thank you!