Is wp_mail plugin territory?

While wp_mail() is not exactly forbidden in a theme, it is very likely misplaced there. The purpose of a theme is presentation. It should not change existing data, and it should always be easy to replace.

That’s the reason why contact forms, polls, shops, tracking and similar functionality is pure plugin territory. There is no context for wp_mail() in a theme.