I can get the Email notification for the failed repositories but i happens on an hourly basis, i want email notification at the time when replication fails, please suggest! it is Possible.
There is a default "respository update or replication failed" notification already included in epo 4 and I think 4.5, you just need to enable it and alter or duplicate it. it doesnt allow you to specify one or the other but you can set it to report on every instance, eg immediate and for it to send you an email.
If you are getting it every hour perhaps you need to check the thresholds in the notification