Save mailed state
Handle mailed state in ui