Add out of office function

Add out of office function