You can set up a auto response with Google Apps when you are away for a period of time. This can only be done via Google Apps. This will not work in Outlook or the macOS Mail app.
1. Visit your Google Inbox and go to the settings page.
1. Select the Gear Icon.
2. Select Settings.