-
Notifications
You must be signed in to change notification settings - Fork 1k
chore: release versions #434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,17 +24,17 @@ gws gmail +reply-all --message-id <ID> --body <TEXT> | |||||||
|
|
||||||||
| ## Flags | ||||||||
|
|
||||||||
| | Flag | Required | Default | Description | | ||||||||
| | -------------- | -------- | ------- | ------------------------------------------------------------------- | | ||||||||
| | `--message-id` | ✓ | — | Gmail message ID to reply to | | ||||||||
| | `--body` | ✓ | — | Reply body (plain text, or HTML if `--html` is set) | | ||||||||
| | `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | | ||||||||
| | `--to` | — | — | Additional To email address(es), comma-separated | | ||||||||
| | `--cc` | — | — | Additional CC email address(es), comma-separated | | ||||||||
| | `--bcc` | — | — | BCC email address(es), comma-separated | | ||||||||
| | `--remove` | — | — | Exclude recipients from the outgoing reply (comma-separated emails) | | ||||||||
| | `--html` | — | — | Treat `--body` as HTML content (default is plain text) | | ||||||||
| | `--dry-run` | — | — | Show the request that would be sent without executing it | | ||||||||
| | Flag | Required | Default | Description | | ||||||||
| |------|----------|---------|-------------| | ||||||||
| | `--message-id` | ✓ | — | Gmail message ID to reply to | | ||||||||
| | `--body` | ✓ | — | Reply body (plain text, or HTML with --html) | | ||||||||
| | `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | | ||||||||
| | `--to` | — | — | Additional To email address(es), comma-separated | | ||||||||
| | `--cc` | — | — | Additional CC email address(es), comma-separated | | ||||||||
| | `--bcc` | — | — | BCC email address(es), comma-separated | | ||||||||
| | `--remove` | — | — | Exclude recipients from the outgoing reply (comma-separated emails) | | ||||||||
| | `--html` | — | — | Send as HTML (quotes original with Gmail styling; treat --body as HTML) | | ||||||||
| | `--dry-run` | — | — | Show the request that would be sent without executing it | | ||||||||
|
|
||||||||
| ## Examples | ||||||||
|
|
||||||||
|
|
@@ -50,13 +50,11 @@ gws gmail +reply-all --message-id 18f1a2b3c4d --body '<i>Noted</i>' --html | |||||||
| ## Tips | ||||||||
|
|
||||||||
| - Replies to the sender and all original To/CC recipients. | ||||||||
| - Use `--to` to add extra recipients to the To field. | ||||||||
| - Use `--cc` to add new CC recipients. | ||||||||
| - Use `--bcc` for recipients who should not be visible to others. | ||||||||
| - Use `--remove` to exclude recipients from the outgoing reply, including the sender or Reply-To target. | ||||||||
| - The command fails if no To recipient remains after exclusions and `--to` additions. | ||||||||
| - With `--html`, the quoted block uses Gmail's `gmail_quote` CSS classes and preserves the original message's HTML formatting. Use HTML fragment tags (`<p>`, `<b>`, `<a>`, etc.) — no `<html>`/`<body>` wrapper needed. | ||||||||
| - With `--html`, inline images embedded in the quoted message (`cid:` references) will appear broken. Externally hosted images are unaffected. | ||||||||
| - Use --to to add extra recipients to the To field. | ||||||||
| - Use --cc to add new CC recipients. | ||||||||
| - Use --bcc for recipients who should not be visible to others. | ||||||||
| - Use --remove to exclude recipients from the outgoing reply, including the sender or Reply-To target. | ||||||||
| - The command fails if no To recipient remains after exclusions and --to additions. | ||||||||
|
|
||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Important tips regarding the use of the
Suggested change
|
||||||||
| ## See Also | ||||||||
|
|
||||||||
|
|
||||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,16 +24,16 @@ gws gmail +reply --message-id <ID> --body <TEXT> | |||||||||
|
|
||||||||||
| ## Flags | ||||||||||
|
|
||||||||||
| | Flag | Required | Default | Description | | ||||||||||
| | -------------- | -------- | ------- | --------------------------------------------------------------- | | ||||||||||
| | `--message-id` | ✓ | — | Gmail message ID to reply to | | ||||||||||
| | `--body` | ✓ | — | Reply body (plain text, or HTML if `--html` is set) | | ||||||||||
| | `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | | ||||||||||
| | `--to` | — | — | Additional To email address(es), comma-separated | | ||||||||||
| | `--cc` | — | — | Additional CC email address(es), comma-separated | | ||||||||||
| | `--bcc` | — | — | BCC email address(es), comma-separated | | ||||||||||
| | `--html` | — | — | Treat `--body` as HTML content (default is plain text) | | ||||||||||
| | `--dry-run` | — | — | Show the request that would be sent without executing it | | ||||||||||
| | Flag | Required | Default | Description | | ||||||||||
| |------|----------|---------|-------------| | ||||||||||
| | `--message-id` | ✓ | — | Gmail message ID to reply to | | ||||||||||
| | `--body` | ✓ | — | Reply body (plain text, or HTML with --html) | | ||||||||||
| | `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | | ||||||||||
| | `--to` | — | — | Additional To email address(es), comma-separated | | ||||||||||
| | `--cc` | — | — | Additional CC email address(es), comma-separated | | ||||||||||
| | `--bcc` | — | — | BCC email address(es), comma-separated | | ||||||||||
| | `--html` | — | — | Send as HTML (quotes original with Gmail styling; treat --body as HTML) | | ||||||||||
| | `--dry-run` | — | — | Show the request that would be sent without executing it | | ||||||||||
|
|
||||||||||
| ## Examples | ||||||||||
|
|
||||||||||
|
|
@@ -49,10 +49,8 @@ gws gmail +reply --message-id 18f1a2b3c4d --body '<b>Bold reply</b>' --html | |||||||||
|
|
||||||||||
| - Automatically sets In-Reply-To, References, and threadId headers. | ||||||||||
| - Quotes the original message in the reply body. | ||||||||||
| - With `--html`, the quoted block uses Gmail's `gmail_quote` CSS classes and preserves the original message's HTML formatting. Use HTML fragment tags (`<p>`, `<b>`, `<a>`, etc.) — no `<html>`/`<body>` wrapper needed. | ||||||||||
| - With `--html`, inline images embedded in the quoted message (`cid:` references) will appear broken. Externally hosted images are unaffected. | ||||||||||
| - `--to` adds extra recipients to the To field. | ||||||||||
| - For reply-all, use `+reply-all` instead. | ||||||||||
| - --to adds extra recipients to the To field. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Important tips regarding the use of the
Suggested change
|
||||||||||
| - For reply-all, use +reply-all instead. | ||||||||||
|
|
||||||||||
| ## See Also | ||||||||||
|
|
||||||||||
|
|
||||||||||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,15 +24,15 @@ gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT> | |||||||
|
|
||||||||
| ## Flags | ||||||||
|
|
||||||||
| | Flag | Required | Default | Description | | ||||||||
| | ----------- | -------- | ------- | -------------------------------------------------------- | | ||||||||
| | `--to` | ✓ | — | Recipient email address(es), comma-separated | | ||||||||
| | `--subject` | ✓ | — | Email subject | | ||||||||
| | `--body` | ✓ | — | Email body (plain text, or HTML if `--html` is set) | | ||||||||
| | `--cc` | — | — | CC email address(es), comma-separated | | ||||||||
| | `--bcc` | — | — | BCC email address(es), comma-separated | | ||||||||
| | `--html` | — | — | Treat `--body` as HTML content (default is plain text) | | ||||||||
| | `--dry-run` | — | — | Show the request that would be sent without executing it | | ||||||||
| | Flag | Required | Default | Description | | ||||||||
| |------|----------|---------|-------------| | ||||||||
| | `--to` | ✓ | — | Recipient email address(es), comma-separated | | ||||||||
| | `--subject` | ✓ | — | Email subject | | ||||||||
| | `--body` | ✓ | — | Email body (plain text, or HTML with --html) | | ||||||||
| | `--cc` | — | — | CC email address(es), comma-separated | | ||||||||
| | `--bcc` | — | — | BCC email address(es), comma-separated | | ||||||||
| | `--html` | — | — | Treat --body as HTML content (default is plain text) | | ||||||||
| | `--dry-run` | — | — | Show the request that would be sent without executing it | | ||||||||
|
|
||||||||
| ## Examples | ||||||||
|
|
||||||||
|
|
@@ -46,7 +46,6 @@ gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> tex | |||||||
| ## Tips | ||||||||
|
|
||||||||
| - Handles RFC 2822 formatting and base64 encoding automatically. | ||||||||
| - With `--html`, the `--body` value should be HTML content, not a full document. Use tags like `<p>`, `<b>`, `<i>`, `<a href="...">`, `<br>`, `<ul>/<ol>/<li>`, `<table>`. No need for `<html>`/`<head>`/`<body>` wrappers. | ||||||||
| - For attachments, use the raw API instead: gws gmail users messages send --json '...' | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. An important tip regarding the use of the
Suggested change
|
||||||||
|
|
||||||||
| > [!CAUTION] | ||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Important tips regarding the use of the
--htmlflag have been removed. These tips provided valuable information about how HTML content is handled, including the use ofgmail_quoteCSS classes, the recommendation to use HTML fragments instead of full documents, and a crucial warning about broken inline images (cid:references). Removing this information can lead to confusion and unexpected behavior for users. It's highly recommended to restore these tips.