blob: 6f19a02197424938d940ff4b95eeef2b65853227 [file] [log] [blame]
// Copyright 2017 The LUCI Authors. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
// Messages for the task queue.
syntax = "proto3";
package internal;
// EmailTask represents a single email notification to be dispatched.
message EmailTask {
// Recipients is a list of email addresses to send the email to.
// TODO(nodir): make it non-repeated.
repeated string recipients = 1;
// Subject is the subject line of the email to be sent.
string subject = 2;
// DEPRECATED. See body_gzip.
string body = 3;
// Gzipped, HTML-formatted string containing the body of the email
// to be sent.
bytes body_gzip = 4;