syntax = "proto3";
package sender;
option go_package = "bsm/full/module/base/sender/pb;sender";

// Mail method
service Mail {
  rpc Send(SendMailRequest) returns (SendMailReply);
}

// sms module
message SendMailRequest {
  string provider =1;
  string template_key = 2;
  string to = 4;
  bool is_gen_code = 5; // 是否生成验证码
  map<string,string> paramters=6; // 验证码相关
}

message SendMailReply {
  string data = 1;
}