should be proud of their work,
They were, since they cracked the codes. And they could never discuss it; many died before their role was known.
but that comes after code-breaking by Polish mathematicians
The two mathematicians figured out how the rotors were wired (on the three-rotor Luftwaffe system).The Germans were aware of the flaw and added another rotor in January 1939. This has been covered in this thread. Nobody figured it out for the kriegsmarine system until Turing (who invented computers).became involved.
Turing also figured out the more complicated and very different Japanese machines.
I wonder if you imagine that the messages came out in plain text? They still had to be decrypted even after the means of mechanical transmission was known. This was done by humans.
all the credit you want
I don't take credit since I want involved, just as you weren't since neither of us was born then. Very few people who worked there are still alive and most had to take their secrets to the grave.