Email: There's no national cancellation email: write to your home club. Get its email or address from your club page or agreement.
Letter: to Your home club. Certified mail with return receipt, allowing for your notice period. Find your club.
In person: Your home club during staffed hours. Bring ID.
Phone: Your home club's number (on its club page). Only use your club's number from anytimefitness.com. Third-party "Anytime Fitness cancellation" numbers aren't the gym.
If you get stuck: Keep every confirmation. If you're charged after a confirmed cancellation, dispute it with your card issuer and attach the proof, then complain to your state attorney general and the BBB. Don't just cancel your card: the contract can still go to collections.