Email (record): Agent-based model with multi-level herding for complex financial systems