BOS connecting Term B to E? Time required?


Level 2 Member
I have a connecting flight at BOS (have never been through this airport). PHL-BOS on AA (Term B) connecting to international flight in Term E. Agent assured me that I would be checked in all the way through to final destination and 2 hours was plenty of time to make the connection. Now I'm reading that this might not be the case? I have to go out and back through security?

I'm hoping someone here will be able to give me the lowdown? Do I have enough time? Do I have to exit and come back through security?