Skeleton of a mail classification system