A study from Dartmouth found that AI can help physicians manage patient messaging, but it comes with some caveats.