show new emails in window
thread-safe way to communicate;
update ui only if something is changed
add locks