Code refactoring. Add mailout menubar