Good afternoon and thank you for your inquiry, my recommendation is to wait between 3-6months after surgery, however, if your doctor needs to perform more studies to evaluate your breast tissue, maybe he can choose a different study instead, but you should definetly discuss this further with him/her.
If it is emergent then do it, if it can wait I would wait about 2-3 months. They are not so gentle when they do them as you well know and so you may have some pain if you do it too soon plus the capsule is forming those first 3 months and you don't want anyone manipulating and squeezing them into a mammogram machine. If it is that important to get your imaging you can always just get an MRI.