KeyError when passing folder_id param to Mail().list_messages()
Closed this issue · 1 comments
cormac-everhaze commented
In the file mail.py:
line 32 url = "me/mailFolders/{id}/messages".format(folder_id) if folder_id else "me/messages"
should be
url = "me/mailFolders/{id}/messages".format(id=folder_id) if folder_id else "me/messages"
or better again use f-strings!
ingmferrer commented
Hello, sorry for the late response.
This should be fixed now.
Thanks!