import requests
s = requests.Session()
data = {'mailbox__login':'danny.colt1@mail.ru', 'mailbox__password':'123456a'}
url = "https://mail.ru"
r = s.post(url, data=data)
r2 = requests.get('https://e.mail.ru/messages/inbox')
print(r2.text)
s.cookies