Partially worked on email. Created a search term database logger. DatabaseLog.php.