Missedcallnotify on UNVAILABLE

About the missedcallnotify module, I was wondering if there is a way to make freepbx send an email to the user who receives a call when his extension is offline (UNAVAILABLE). I have several softphone users who would like to receive an email when they receive a call but their extension is not registered.