basic checkmail route- still needs fleshing out