# \[bounty\] Google+ (private ) communities: export screenscraper + importer

**URL:** <https://meta.discourse.org/t/bounty-google-private-communities-export-screenscraper-importer/108029>\
**Category:** Marketplace\
**Created:** [31.Январь.2019 15:40:04 UTC](https://meta.discourse.org/t/bounty-google-private-communities-export-screenscraper-importer/108029 "2019-01-31T15:40:04Z")\
**Posts on this page:** 1\
**Showing post:** 61

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [13.Март.2019 16:31:19 UTC](https://meta.discourse.org/t/bounty-google-private-communities-export-screenscraper-importer/108029/61 "2019-03-13T16:31:19Z")

</div>

> [@mcdanlj](#):
>
> we were hammering mailgun with `@gplus.invalid`

Emails to `.invalid` addresses are now skipped: [FEATURE: Skip sending emails to domains on the `.invalid` TLD (#7162) · discourse/discourse@420c6f8 · GitHub](https://github.com/discourse/discourse/commit/420c6f81028302b0a538f234988c8a630e7cdc82)

> [@mcdanlj](#):
>
> I was hoping that the google login path would fix up the address when it merges in the authentication record, but no such luck.

We don’t always replace emails for social logins, because users might deliberately want different email addresses for different services. However, in this case it would certainly be better to replace an invalid email address with a real one, so I’ve created this PR which is pending review: [FEATURE: Fetch email from auth provider if current user email is invalid by davidtaylorhq · Pull Request #7163 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/7163). As part of this, users will automatically be activated.

So, the best state for you to import users is `active: false, email:"something@something.invalid"`, and there is no need to mess with the bounce score.

Also, you may have noticed that we migrated `google_user_infos` into `user_associated_accounts`, so you will need to replace `GoogleUserInfo` references with `UserAssociatedAccount.where(provider_name:"google_oauth2")`

---

_[View the full topic](https://meta.discourse.org/t/bounty-google-private-communities-export-screenscraper-importer/108029)._
