Add weekly email reminder handling, fix gui app redis port, refactor emailer module