Reorganize code, display emails, clear button