• Sean McGivern's avatar
    Only set Auto-Submitted header once · eddc9e41
    Sean McGivern authored
    The emails on push feature reuses the same email object, to avoid the expensive
    work of generating the email body.
    
    This interceptor would previously set multiple values for the same header, as
    that's the mail gem's default behaviour when called with the same header more
    than once.
    
    We don't want to change the emails on push service (although it's the only place
    where this happens), but fixing the interceptor is just as sensible anyway.
    eddc9e41