How to send an auto reply to inbound email DescriptionThere are certain situations in which an administrator would like to send an automatic reply to incoming emails, e.g. When the target record is closedWhen certain mailbox will be deprecated and all incoming emails should be addressed to a new email address.InstructionsThere are two ways in which you can send an auto-reply to an incoming email Configuring an Inbound Action with Action type: Reply email.Configuring an Inbound Action with Action type: Record Action and with certain conditions (using a script) to send the reply Ideally an Inbound Action with Action type = reply email also can be triggered on specific conditions, however, there could be some typical scenarios where the script first needs to identify the target record and then, depending on the conditions, the instance should send an auto-reply. In that case, it is advisable to configure an Inbound Action with Action type = Record Action and add the following code to your script, editing it as needed: var gr = new GlideRecord('sys_email');gr.initialize();gr.type = 'send-ready';gr.recipients = email.origemail;gr.subject = <add the desired email subject>gr.body = <add the desired email body>gr.insert();Additional InformationRemove or replace the autoreply email address inspecting customization