If a person goes out of their way to do something that inspires you to action or encourages you to continue, thank them.