There is verb in method name indicating that this changes state of email agent. Why const? In addition, there are member variables changed like m_cancellng, m_transmittting.