Ask for Letter of Rec. via email

So I was going to ask a teacher I had last year in person if she could write me a letter of recommendation, but I found out that she now teaches at a different school. Therefore, I have to ask her if she could write me a letter of recommendation via email. How should I ask through email? Should I mention that I was going to ask in person, but found out she no longer teaches at the school? Thanks!

Yeah, I’d do that. Shouldn’t be a problem.