@mcp-z/mcp-gmail
Preparing search index...
mcp
toolFactories
messageSend
Function messageSend
messageSend
()
:
{
config
:
{
description
:
"Send an email message through Gmail"
;
inputSchema
:
ZodObject
<
{
bcc
:
ZodString
|
ZodOptional
<
ZodString
>
;
body
:
ZodString
;
cc
:
ZodString
|
ZodOptional
<
ZodString
>
;
contentType
:
ZodDefault
<
ZodOptional
<
ZodEnum
<
{}
>
>
>
;
subject
:
ZodDefault
<
ZodString
>
;
to
:
ZodString
|
ZodOptional
<
ZodString
>
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
item
:
ZodObject
<
{}
,
$strip
>
;
type
:
ZodLiteral
<
"success"
>
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
params
:
{
bcc
:
string
;
body
:
string
;
cc
:
string
;
contentType
:
"text"
|
"html"
;
subject
:
string
;
to
:
string
;
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
content
:
{
text
:
string
;
type
:
"text"
}
[]
;
structuredContent
:
{
result
:
{
item
:
{}
;
type
:
"success"
}
}
;
}
,
>
;
name
:
string
;
}
Returns
{
config
:
{
description
:
"Send an email message through Gmail"
;
inputSchema
:
ZodObject
<
{
bcc
:
ZodString
|
ZodOptional
<
ZodString
>
;
body
:
ZodString
;
cc
:
ZodString
|
ZodOptional
<
ZodString
>
;
contentType
:
ZodDefault
<
ZodOptional
<
ZodEnum
<
{}
>
>
>
;
subject
:
ZodDefault
<
ZodString
>
;
to
:
ZodString
|
ZodOptional
<
ZodString
>
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
item
:
ZodObject
<
{}
,
$strip
>
;
type
:
ZodLiteral
<
"success"
>
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
params
:
{
bcc
:
string
;
body
:
string
;
cc
:
string
;
contentType
:
"text"
|
"html"
;
subject
:
string
;
to
:
string
;
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
content
:
{
text
:
string
;
type
:
"text"
}
[]
;
structuredContent
:
{
result
:
{
item
:
{}
;
type
:
"success"
}
}
;
}
,
>
;
name
:
string
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-gmail
Loading...