Jul 10, 2017 · 1 min read
Firebase cloud functions support various triggers including one where you can run a cloud function on firebase database write, and about writing cloud functions these examples can help -
https://github.com/firebase/functions-samples/tree/master/email-confirmation