Quick compatibility fix in tests
Itou
Tests for interactive mail writing (actual function will come after cleanup)