partially fixed session issue again

now uses basemodel's session
refactored email_view related tests