completed full fnctality of compose, inbox, outbox, auth