Add caching and validation to states, load on restart
Rescue EOF errors from Mail gem