The usual way to post something on Facebook or Twitter is to use their APIs. They don’t provide any service that takes emails and creates a status or a tweet.
The reason is trivial: email is very unsecure, you can’t identify the originator of an email and such a service would lead to massive spamming.
The only way out would be: send the emails to your own server, then use the Facebook or Twitter API (with your own Facebook/Twitter ids) to post the content of the emails.
If the question was more directed towards learning Java or Android – then I agree to commenters and close-voters, teaching languages is out of scope for this Q&A site.
2
solved I’m new to coding, and I have a idea but don’t know how to code it [closed]