move session into setup mailpile method