On Designing Task-Oriented Intelligent Interfaces: an E-mail Based Design Framework