gk-mode: Add mail check function.