Question: You may haven't understood the question correctly. So here is it in detailed way:
There is a string, let's say, `x='200+350'`

so now if I do `int(x)`, it'll give me an error.
I want it to evaluate to 550 which is integer.

How may I do that?

Answer: 
You don't need to iterate on the `emails` list. If you want to filter emails that don't appear in the `emails` list, you can do something like:

```py
for item in account.inbox.all().order_by('-datetime_received')[:100]:
    if item.sender.email_address in emails:
        counts[item.sender.email_address] += 1

```

I'm not familiar with this library, but maybe you have the option to grab only the relevant results with something similar to:

```py
account.inbox.all().filter(sender=email).order_by('-datetime_received')

```

As noted by [@erikcederstrand](https://stackoverflow.com/questions/63828284/python-loop-not-iterating-through-the-list/63828439#comment112869552_63828439), you can get better performance if you fetch only senders:

```py
account.inbox.all().order_by('-datetime_received').only('sender')

```
Maybe you should try the following (if I understand you correctly). We increase counts variable as before, but print only ones that are in `emails`:

```py
credentials = Credentials('hidden@hidden.com', 'hiddenpass')
account = Account('hidden@hidden.com', credentials=credentials, autodiscover=True)
counts = defaultdict(int)
for item in account.inbox.all().order_by('-datetime_received')[:100]:
    counts[item.sender.email_address] += 1
    if item.sender.email_address in emails:
        print(item.sender.email_address)
        print(counts[item.sender.email_address])

```