1. A computer implemented method for automatically extracting metadata from an unstructured electronic document, comprising: converting the unstructured electronic document into a plain text document; extracting a document header of the unstructured electronic document from the plain text document using a rule-based document header extractor; and extracting metadata from the extracted document header using a heuristic approach.