First I will describe you the process of creating custom notification gateway, then I will follow this process to create ICQ notification gateway. Finally, I will mention workaround for sending timed notifications.