GreenArrow Documentation

Gmail Feedback Loop ID

Gmail requires that you insert a Feedback-ID header as a prerequisite to using their Feedback Loop.

You can configure Studio to create this header for emails sent to @gmail.com subscribers by writing your desired SenderID to the /var/hvmail/control/studio.gmail.feedback-senderid file. For example:

echo example-test > /var/hvmail/control/studio.gmail.feedback-senderid

This will cause Studio to insert a Feedback-ID header in the following format, given that OrganizationID=13, CampaignID=32, SenderID=example-test:

Feedback-ID: o13:o13c32::example-test

For autoresponders, this header be in the following format, given that OrganizationID=13, AutoresponderID=47, SenderID=example-test:

Feedback-ID: o13:o13a47::example-test

If the first line of /var/hvmail/control/studio.gmail.feedback-senderid is blank, or if the file does not exist, then this header will not be written.

Include Feedback-ID to all email addresses

If you would like to include the Feedback-ID on all email addresses, instead of only to @gmail.com, turn on the following flag.

echo 1 > /var/hvmail/control/studio.gmail.feedback-senderid.enable_all_domains

Include Subscriber ID in the Feedback-ID header

If you would like to include the subscriber ID in the Feedback-ID header, run the following command.

echo 1 > /var/hvmail/control/studio.gmail.feedback-senderid.include_subscriber_id

Google, in their Feedback-ID documentation, advise against usage of this feature. GreenArrow similarly advises against usage of this feature.

When this feature is active, the value of the header will be written in the following format, given that OrganizationID=13, CampaignID=32, SubscriberID=46, SenderID=example-test:

Feedback-ID: o13:o13c32:o13s46:example-test