Sagittarius A-Star said:
But regarding Maxwell not much, according to the following paper.
Source:
http://richardhaskell.com/files/Special Relativity and Maxwells Equations.pdf
From that you get P1 + P2 + Coulomb's law + conservation of 4-momentum -> Maxwell
Fortunately SRT does not only necessarily lead just to electromagnetism but is just a spacetime model which is flexible enough to apply to all of physics. You can argue that GR, needed to include the gravitational interaction, really goes beyond it, but you can as well argue that gravity fits to the general scheme how to describe the interactions within field theories using the gauge principle with the specialty that what's gauged in the case of gravitation is the spacetime (Poincare) symmetry itself and not some intrinsic symmetry of the fields, which is the case for the other fundamental interactions.
Now, how do you get within SRT to Maxwell's theory for the electromagnetic interaction. What you have is the fundamental symmetry of Minkowski space (proper orthochronous Poincare transformations) and the paradigm that everything should be described by local field theories (an argument dating back to Faraday's qualitative insight based on his observations on electricity and magnetism). Then you can systematically study which representations of the symmetry group you can build with fields, fulfilling the constraints of causality. As it turns out, within classical physics, these are the massive and massless representations in terms of tensor fields (including of course scalar and vector fields too).
That's already pretty nicely constraining the possible types of fields and the corresponding action functionals but you need some input from experiment to know, which field might describe the phenomena in question. In the case of electrodynamics everything hints at a massless vector field with 2 polarization degrees of freedom propagating with the speed of light. What then fits of all the representations in form of local tensor-field realizations of the Poincare group is a massless vector field, which necessarily must be a gauge field in order to avoid unphysical continuous intrinsic degrees of freedom and ending up with the said to polarization states. A massless vector field has two helicity states rather than 3 spin states, and these build the basis of the observed polarization states (left- and right-circular polarizations, from which you can build any general elliptic polarization state you like). In addition we know that the em. interactions also obeys the symmetry under spatial reflections, which leaves you with practically one choice for the free-field Langrangian if you restrict yourself with the lowest dimensions.
Coupling this to matter you need a conserved charge and the corresponding Noether current, being determined from the additional constraint of gauge symmetry. In this way you end up with Maxwell's electrodynamics, but as you see, you need far more empirical input than just Einstein's two postulates on the space-time structure.
For me that greatest ingeniuty of Einstein's approach to solve the problem of the violation of Gaileo symmetry of Maxwell's equations was to extract the minimal needed assumption from Maxwell's theory to modify the space-time model such that Maxwell's equations can be symmetric under changes between inertial frames of reference, namely this additional postulate of the independence of the speed of light from the motion of the light source, leading to an additional fundamental constant of nature, the "limiting speed" of Minkowski space (the choice of the value of this speed is just convention defining the system of units, as is the case within the SI units since 1983 and of course also in the newest version of 2019, where almost all base units are defined by choosing particular values of all the fundamental natural constants, except ##G##, which simply is too difficult to measure with sufficient condition today to be included in the list of fixed values to determine the base units of the SI).
That the em. field is indeed a massless vector field and that the speed of light is indeed the limiting speed of Minkowski space is now to be interpreted as a question of experiment. Today there's no experimental hint that this assumption is wrong. Usually the empirical status is given by an upper bound for a possible photon mass which is ##m_{\gamma} < 10^{-18} \text{eV}/c^2##.