```python Traceback (most recent call last): File "Inbox.py", line 39, in <module> subject, encoding = decode_header(msg['Subject'])[0] TypeError: list indices must be integers, not str ``` I tried deleting `[0]` but it didn't work.