activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

ReplyToEmail

Replies to the specified mail with the given configuration.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Overloads

OverloadDescription
ReplyToEmail(IMail, ReplyToEmailRequest)Replies to the specified mail with the given configuration.
ReplyToEmail(IMail, String, String, String, String, String, Boolean)Replies to the specified mail with the given configuration.

ReplyToEmail(IMail, ReplyToEmailRequest)

Replies to the specified mail with the given configuration.

public void ReplyToEmail(
	IMail mail,
	ReplyToEmailRequest replyOptions
)
public void ReplyToEmail(
	IMail mail,
	ReplyToEmailRequest replyOptions
)

mail IMail : The email that should be replied.

replyOptions ReplyToEmailRequest : The reply email request configuration.

ReplyToEmail(IMail, String, String, String, String, String, Boolean)

Replies to the specified mail with the given configuration.

public void ReplyToEmail(
	IMail mail,
	string body,
	string newSubject = null,
	string to = null,
	string cc = null,
	string bcc = null,
	bool asDraft = false
)
public void ReplyToEmail(
	IMail mail,
	string body,
	string newSubject = null,
	string to = null,
	string cc = null,
	string bcc = null,
	bool asDraft = false
)

mail IMail : The email that should be replied.

body String : The content of the email.

newSubject String (Optional) : If not null, the subject of the email will be changed to the given value. Default value is null.

to String (Optional) : Another primary recipient of the email. Optional, default value is null.

cc String (Optional) : The secondary recipient of the email. Optional, default value is null.

bcc String (Optional) : The hidden recipient of the email. Optional, default value is null.

asDraft Boolean (Optional) : Specifies if the email should be sent as draft. Optional, default value is false.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated