midway through finishing refactor; tolower broken and email manager potentially only fetching sent?