Prompt injection and "jailbreaking" aren't quite the same thing. Avoiding prompt injection means teaching the model which parts of its input are supposed to be obeyed and which parts aren't. Guardrails are about teaching the model that it's supposed to refuse to engage in certain topics. It seems similar, but I don't know if it's close enough that a failure in one implies a failure in the other.
I think the line is blurrier. Lots of agents are deployed in contexts where they are explicitly supposed to accept instructions from untrusted parties. For example, an agent that is supposed to automatically answer questions received by email is explicitly supposed to perform instructions based on the contents of emails. So you don't need to do true prompt injection in order to attack this agent - you just need to convince it to answer your email with more information than it is supposed to offer you - exactly the kind of jailbreak done here.