Skip to content

feat: Support for AMP HTML Email#945

Merged
JenniferMah merged 14 commits intosendgrid:mainfrom
arun-tvs-sage:amp-email
Jan 8, 2021
Merged

feat: Support for AMP HTML Email#945
JenniferMah merged 14 commits intosendgrid:mainfrom
arun-tvs-sage:amp-email

Conversation

@arun-tvs-sage
Copy link
Copy Markdown
Contributor

@arun-tvs-sage arun-tvs-sage commented Oct 29, 2020

I acknowledge that my contributions will be made under the same open-source license that the open-source project is provided under

Adds support for sending AMP HTML email

  • Added third mime type -> text/x-amp-html
  • Send AMP HTML email just like normal html/plain email

Resolves

Checklist

  • I acknowledge that all my contributions will be made under the project's license
  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read the Contribution Guidelines and my PR follows them
  • I have titled the PR appropriately
  • I have updated my branch with the main branch
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation about the functionality in the appropriate .md file
  • I have added inline documentation to the code I modified

@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Oct 29, 2020
@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

@thinkingserious need your superpowers here !!! . Please check and let me know about the PR. Thanks

@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

arun-tvs-sage commented Nov 13, 2020

@thinkingserious gentle reminder. Please let me know if you need any help regarding review. Thanks

Copy link
Copy Markdown
Contributor

@thinkingserious thinkingserious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Comment thread use_cases/sending_amp_html_content.py Outdated
Comment thread use_cases/sending_amp_html_content.py Outdated
Comment thread use_cases/sending_amp_html_content.py Outdated
Comment thread sendgrid/helpers/mail/mail.py
@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

Thanks for the review @thinkingserious. Will update in 2 days, caught up with something. Will let you know, once the changes are done.

@thinkingserious
Copy link
Copy Markdown
Contributor

That sounds good @modernwarfareuplink, thank you!

@thinkingserious thinkingserious added status: waiting for feedback waiting for feedback from the submitter type: community enhancement feature request not on Twilio's roadmap and removed status: code review request requesting a community code review or review from Twilio labels Dec 3, 2020
Copy link
Copy Markdown
Contributor

@thinkingserious thinkingserious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

Could you please update the tests here to finish this one off? https://github.com/sendgrid/sendgrid-python/blob/HEAD/test/test_mail_helpers.py

Thanks again!

@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

Thanks for the review. I am really sorry that it took this long and no updates from my side. Will finish adding the tests by morning (in around 12 hours) and let you know.
Thank you and happy new year @thinkingserious

@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

@thinkingserious have resolved your comments, made few changes around the ordering and added appropriate tests. Also found that the build was failing due to copyrights year and fixed it too. Please review and let me know if you need any additional details. Thank you

@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

@thinkingserious gentle reminder for review. Please let me know if you have any issues. Thank you

Copy link
Copy Markdown
Contributor

@JenniferMah JenniferMah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the tests! I've just requested a few changes but over all this looks good to me!

Comment thread test/test_mail_helpers.py Outdated
Comment thread test/test_mail_helpers.py Outdated
@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

Have updated the minor comment @JenniferMah . Please do have a look once. Thank you

Comment thread test/test_mail_helpers.py
@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

@thinkingserious need your superpowers for review and merging the changes 🙏

@JenniferMah JenniferMah merged commit 39844d6 into sendgrid:main Jan 8, 2021
@arun-tvs-sage
Copy link
Copy Markdown
Contributor Author

Thank you @JenniferMah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting for feedback waiting for feedback from the submitter type: community enhancement feature request not on Twilio's roadmap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for text/x-amp-html mime type It doesn't seem to support third mime type AMP

3 participants